如果每次单击iPhone 或 iPad(iPhone or iPad)应用程序下载链接(download link)时 iTunes 都会自动打开,则您的浏览器已预设为打开该程序。您可以通过更改浏览器处理这些链接的方式 来阻止 iTunes 自动打开App Store链接。(App Store)
为什么要阻止这种情况发生?虽然那里绝对有一些非常棒的 iOS 应用程序(really great iOS apps),但如果您只想阅读应用程序的描述或查看(description or view)其评级,那可能会相当令人沮丧。如果 iTunes 尚未打开,这尤其令人讨厌,现在您必须等待它完全加载才能将其关闭。
每个浏览器的工作方式都略有不同,因此请选择下面适用于在 iTunes 中自动打开链接的程序的一组说明。
提示(Tip):当涉及到其他任务时,iTunes 也可能很麻烦。了解如何阻止 iTunes 修改您的音乐文件夹(如果它也这样做)。
为什么 iOS 链接会自动打开?(Why Do iOS Links Open Automatically?)
发生这种情况是因为在过去的某一时刻,当您单击iOS 链接(iOS link)时,系统会询问您是否要在 iTunes 中打开它。您必须勾选一个复选框才能记住您的决定,以便以后每次打开 iTunes 链接时,它将在程序中而不是在浏览器中启动应用程序的详细信息页面。
它的工作原理(How)是通过一个以.itms 文件扩展名(file extension)结尾的文件。由于 iTunes将 .itms(.itms)文件与其自身相关联,因此您计算机上以该扩展名结尾的任何文件,或您尝试从浏览器打开的任何文件,都将在 iTunes 中启动。
注意(Note):唯一的区别在于Chrome 和 Edge(Chrome and Edge),它们不包含“记住”您的答案的选项,因此将始终在 iTunes 中打开 iOS 链接,但前提是您手动说这样做。你不能强迫那些浏览器停止询问你,你也记不起“是”或“否”的答案(” answer)。
火狐(Firefox)
- 选择Firefox(Firefox)右上角的三联菜单按钮(menu button)。
- 选择选项(Options)。
- 从顶部的搜索栏中搜索应用程序。(Application)
- 找到名为itms的条目。
- 选择右侧的下拉箭头,然后选择始终询问(Always ask)。
歌剧(Opera)
Opera 在设置中有一个处理程序(Handlers)菜单,您可以在其中阻止网站与您的程序(例如 iTunes)交互。不幸的是,您不能只(just)禁用iTunes 链接,因此在完成这些步骤以防止在您单击 iOS 链接时自动打开 iTunes 时,您还将停止任何其他协议处理程序(例如mailto:打开您的电子邮件程序的链接)。
- 从程序的左上角选择Opera 菜单。(Opera menu)
- 选择设置(Settings)。
- 搜索处理程序(handlers)。
- 单击站点设置(Site Settings)。
- 向下滚动并选择Handlers。
- 通过单击按钮禁用设置,使其变为白色而不是蓝色。
IE浏览器(Internet Explorer)
Internet Explorer 协议(Internet Explorer protocol)处理程序不是在浏览器中管理,而是通过控制面板(Control Panel)进行管理。但是,走这条路并不(route doesn)总是有效,因此确保您可以编辑 iTunes 和Internet Explorer与 .itms 文件的关联的最佳方法是在(Internet Explorer association)Windows 注册表(Windows registry)中稍作更改。
- 通过启动运行对话框(Run dialog)( WIN+R ) 并输入regedit打开注册表编辑器(Registry Editor)。
- 导航到HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\ProtocolExecute\itms。
- 从右窗格中双击WarnOnOpen 。
- 将值更改为1。
无需重新启动即可使这些更改生效。下次您在Internet Explorer中打开(Internet Explorer)iOS 链接(iOS link)时,系统会要求您启动 iTunes。
只需退出该屏幕,或选择允许(Allow),但还要选中询问您是否应始终收到此窗口提示的框。该检查确保当您单击iOS 链接(iOS link)时 iTunes 不会自动打开。
铬和边缘(Chrome & Edge)
Edge 和现代版Chrome 浏览器(Chrome browser)不会自动启动 iTunes,因此无需更改任何设置。但是,当您单击iOS 链接(iOS link)时,您可能仍会被要求打开 iTunes 。
要在您打开itms 链接(itms link)时阻止这些浏览器中发生这种情况,只需单击显示不(not)打开 iTunes 的选项。在 Chrome 中,选择Cancel或在 Edge 中选择No。
或者,如果您复制了应用程序的链接,请在不按 Enter 的情况下粘贴它,然后删除开头的itms://部分。输入该新URL将让您在浏览器而不是 iTunes 中查看应用程序的详细信息。
How To Stop iTunes From Automatically Opening When You Click On An iOS Link
If iTunes is opening automatісally each time you click an iPhone or iPad app download link, then your browser is preset to open the program. You can stop iTunes from automatiсally opening Apр Store links by changing how your brоwser deals with those links.
Why would you want to stop this from happening? While there are absolutely some really great iOS apps out there, it can be rather frustrating if all you’re wanting is to read through an app’s description or view its rating. It’s especially annoying if iTunes isn’t already open, and now you have to wait for it to fully load just so you can shut it down.
Every browser works a bit differently, so choose the set of directions below that apply to the program where links are opening in iTunes automatically.
Tip: iTunes can be a hassle when it comes to other tasks, too. Learn how to prevent iTunes from modifying your music folder if it’s doing that as well.
Why Do iOS Links Open Automatically?
This is happening because at one point in the past, when you clicked an iOS link, you were asked if you wanted to open it in iTunes. You must have ticked a checkbox to remember your decision, so that each subsequent time you open an iTunes link, it will launch the app’s details page in the program instead of in your browser.
How this works is via a file that ends with the .itms file extension. Since iTunes associates .itms files with itself, any file on your computer that ends with that extension, or any file you try opening from your browser, will launch in iTunes.
Note: The only difference is with Chrome and Edge, which don’t include an option to “remember” your answer and will thus always open iOS links in iTunes, but only if you manually say to do so. You can’t force those browsers to stop asking you and you can’t remember either a “yes” or “no” answer.
Firefox
- Select the three-linked menu button on the upper-right side of Firefox.
- Choose Options.
- Search for Application from the search bar at the top.
- Locate the entry called itms.
- Select the drop-down arrow off to the right, and choose Always ask.
Opera
Opera has a Handlers menu in the settings where you can stop websites from interfacing with your programs, such as iTunes. Unfortunately, you can’t disable just iTunes links, so when completing these steps to prevent iTunes from opening automatically when you click iOS links, you’re also stopping any other protocol handlers (such as mailto: links opening your email program).
- Select the Opera menu from the top-left corner of the program.
- Choose Settings.
- Search for handlers.
- Click Site Settings.
- Scroll down and choose Handlers.
- Disable the setting by clicking the button, making it white instead of blue.
Internet Explorer
Internet Explorer protocol handlers are managed not in the browser but instead through Control Panel. However, going that route doesn’t always work, so the best way to make sure you can edit the iTunes and Internet Explorer association with .itms files is to make a slight change in the Windows registry.
- Open Registry Editor by launching the Run dialog box (WIN+R) and entering regedit.
- Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\ProtocolExecute\itms.
- Double-click WarnOnOpen from the right pane.
- Change the value to 1.
No reboot is necessary to make these changes stick. The next time you open an iOS link in Internet Explorer, you’ll be asked to launch iTunes.
Just exit that screen, or select Allow but also check the box that asks if you should always be prompted with this window. The check ensures that iTunes won’t open automatically when you click an iOS link.
Chrome & Edge
Edge and modern versions of the Chrome browser don’t automatically launch iTunes, so there’s no need to change any settings. However, you might still be getting asked to open iTunes when you click an iOS link.
To stop this from happening in these browsers when you open the itms link, just click the option that says to not open iTunes. In Chrome, choose Cancel, or No in Edge.
Or, if you have the link to the app copied, paste it without pressing enter, and remove the itms:// part at the beginning. Entering that new URL will let you view the app’s details in your browser instead of iTunes.