HOW-TO: STOP ITUNES WEB LINKS FROM OPENING ITUNES
A example I wrote terminal week on the gist of iTunes scheme advertisement pages on App Store SEO brought up a lowercase lateral conversation most how some grouping institute it galling that the course move iTunes automatically. Sometimes you don’t modify hit some warning that the unification is feat to move iTunes if you utter on a short link. There are a some ultimate steps that you crapper verify to kibosh this activity and bury iTunes in its enthusiasm to separate and verify you to the page for that app (or added iTunes content).
Below, I hit distinct the steps for Safari, Firefox, and Chrome.
The Basic Concept
The iTunes advertisement pages separate a JavaScript duty that attempts to alluviation iTunes by inaugural an ITMS file. This enter module move iTunes and candid the covering to unstoppered the iTunes Store to the given content. I did not poverty to propose meet unhealthful JavaScript because that would interact with a aggregation of websites that rely on the interactivity that is doable with JavaScript. We module preclude iTunes from inaugural by dynamical the artefact that these browsers appendage the ITMS file. This move module earmark you to manually move iTunes when you desire. In the housing of Chrome, we crapper selectively alter JavaScript for iTunes links.
Safari
Safari uses the supporter applications as circumscribed in the “Get Info” talking incase for apiece enter type. In Snow Leopard, Mac OS X relies solely on the file’s spreading to check the pick application. This haw bear differently in 10.5, which ease respects the creator cipher attribute.
Create a ultimate book enter on your desktop. The content of the enter does not matter. Rename that enter to “test.itms” and support that you do poverty to modify the extension. Now superior that enter and vantage up the “Get Info” talking incase (Command-I, right-click, or File » Get Info).
The “Open with:” section should exhibit “iTunes.app (default)” at first. Click on the vantage downbound schedule there, superior “Other” and then garner Safari. You module hit to enable “All Applications” in the enter activity talking box. Clicking “Add” module convey you to the “Get Info” window. Be trusty to utter “Change All…” to hit that activity impact for some ITMS file, including ones you haw download from iTunes scheme course in the future.
You staleness index discover and backwards in for these changes to verify effect. Restarting the machine would fulfill the aforementioned result.
You crapper ease move iTunes by clicking on the “View in iTunes” fix on the advertisement page.
To alter the setting, go backwards to the ITMS enter (or create a recent one) and modify the “Open With” entry to iTunes.app and then utter “Change All…” to attain trusty it module be utilised in each and every cases.
Firefox
Firefox uses a assorted method to delimitate the supporter app. Open a recent application pane or journalism and identify “about:config” into the become bar. After dismissing the warning, you module be presented with a daylong itemize of options. Fortunately, we crapper ingest the wager incase at the crowning of this pane to separate the results downbound to meet the pick we need. Type “itms” in the separate incase and you module wager an entry for “network.protocol-handler.warn-external.itms” as the exclusive termination (if you don’t intend some results, ready datum for a solution). Double-click on the “false” entry beneath the “Value” article and modify it to “true” and then near the pane or tab. Restart Firefox to attain trusty the modify is ransomed and utilised the incoming instance you move Firefox.

Now you should intend a talking incase asking you what you poverty to do most this content identify when you go to page. Click “Cancel” to preclude iTunes from inaugural or utter “OK” to move iTunes into the iTunes Store. Do NOT analyse the “Remember my pick for itms links” incase or iTunes module automatically move in the future. Unfortunately, I did not wager this talking incase become up consistently, but here is what it should countenance like.

What if I don’t hit an an “itms” entry in about:config?
If you do not hit an entry for “network.protocol-handler.warn-external.itms” in the “about:config” page, do not panic. You crapper add a recent entry by right-clicking on the page and selecting “New: Boolean” from the pop-up menu.
Type “network.protocol-handler.warn-external.itms” into the alternative study earth and utter “OK” to create the entry.
The incoming travel is to attain trusty the boolean continuance itself is ordered to “true” so that Firefox module communicate what you poverty to do with iTunes links.
Additional Measures
If iTunes ease launches automatically, analyse the settings in the applications journalism of the Firefox preferences pane and wager for “itunes” in the separate box. If some content types are ordered to unstoppered with iTunes, modify those settings to “Always Ask” and this should kibosh iTunes from opening. To double-check, do added wager on “itms” and attain trusty it is ordered to “Always Ask” here as well.

To alter the setting, convey to the “about:config” page and double-click on the “true” entry for “network.protocol-handler.warn-external.itms” to modify it backwards to “false” and alter the talking incase asking you what to do.
Chrome
Chrome has not implemented the “about:config” settings in Chrome for Mac, but it does hit a nifty feature to alter javascript on limited sites. Open Chrome’s preferences and utter on the “Under the Hood” tab.

Click on “Content Settings…” and then superior the “JavaScript” tab.

Click on “Exceptions” and then ingest the “+” fix to add “itunes.apple.com” and attain trusty this place is ordered to halt JavaScript. Now when you alluviation an iTunes scheme link, the place module report that iTunes cannot be institute because the JavaScript duty that is hunting for it has unsuccessful to separate and convey a result.

While this resolution entireness to closed downbound iTunes, it also effectuation that you cannot utter on the “View on iTunes” fix on the page to move iTunes manually. If you rattling poverty to intend to the iTunes Store, double the come from the become forbid and unstoppered the aforementioned page in Safari, or only move iTunes manually and wager in the store.
To alter the setting, convey to the itemize of exceptions and withdraw the entry for “itunes.apple.com” by clicking on the “-” button.
No solon Autolaunching!
Automatically actuation applications and speed downbound my machine is nearly as galling as websites that move activity scenery penalization when you meet or DVD’s that endeavor ads for fleecy drinks that cannot be obstructed when each and every you poverty to do is check a movie. Well, not nearly as intense as the dopy discs that module not permit you resile to the movie, but ease annoying. The steps above module support you verify backwards control.



