---
title: Services for quickly opening iTunes and MAS links
date: 2013-01-22 09:00
slug: services-for-opening-itunes-mas-links
categories:
- Code
tags:
- itunes
- macappstore
- service
---

In Chrome and Safari I disable external URLS for iTunes and the Mac App Store to avoid the apps opening every time I look up an app. In Safari I use [No More iTunes](http://nomoreitunes.einserver.de), and in Chrome I just disable external links of those types using the built-in security tools. However, I sometimes _do_ want to open iTunes or the MAS, which can be cumbersome --- especially in Chrome --- if the process is disabled.

Thus, I made a few quick System Services for handling this. The first set, "Open in iTunes" and "Open in MAS" take text as input and --- if it matches a url for an iTunes or MAS link --- opens it in the destination app. I couldn't find an easy way to differentiate between the two types of url, so it currently requires that you choose iTunes or MAS and run the appropriate service. I can quickly copy a url and run this from LaunchBar and pressing Space to paste the url in, or I can select a link and right click it to run the Service directly.

To make this a little handier, I created a pair that opens the url in the front tab of the browser directly. By default it works with Chrome, but with a quick edit in Automator (comment one line, uncomment another), it will work with Safari instead. You can run them from LaunchBar (or any launcher that can run Services) or with a right click any time you don't have text selected. The scripts inside can be easily extracted using Automator and could be applied to any kind of action script or extension that can run a shell script.

Nothing big, just a quick tool that happens to be handy in my set of circumstances. There's a download below containing all four services, and you can see the [how-to page](http://brettterpstra.com/howtos/install-an-os-x-system-service/) if you're unsure how to install and use them.

**[Download Open link in iTunes or MAS v1](https://brettterpstra.com/downloads/OpenInItunesMAS1.0.zip)**

Quickly open iTunes and MAS urls in their destination application

[More info](https://brettterpstra.com/2013/01/22/services-for-opening-itunes-mas-links/)

---

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff. This content is supported by readers like you. [More about Brett](https://brettterpstra.com/contact.md), including social links.

Copyright © 2026 Brett Terpstra. All rights reserved.
