How to stop apps from opening my browser

I have installed few apps that after they auto update, they open up my browser on their maker's web site. It's very annoying and I don't know how to stop it. Viber is probably the worst, updates without permission and I have no idea how to stop it from opening their website.

Is it possible to block apps from opening Chrome/Safari or whatever my browser is?


Solution 1:

For Google Chrome:

  1. Quit Google Chrome.

  2. With Finder selected, hit the Shift--G and enter the folder address

    ~/Library/Application Support/Google/Chrome.

  3. Select the Default folder, and open the Preferences file in a text editor like Text Editor.

  4. Search for the phrase “excluded_schemes,” which houses your list of protocol handler preferences in the text file.

  5. Search for the offending protocol (like “itmss” for iTunes, or “slack” for Slack) and change its state from “true” to “false,” taking care not to remove any punctuation.

  6. Save the file, and re-open Chrome.

For Safari:

  1. I recommend for a tool NoMoreiTunes, a free Safari extension that stops iTunes or the App Store app from launching automatically when you visit a store page online.

  2. To use the NoMoreiTunes extension, simply head over to the extension’s website and download the latest version.

  3. Once downloaded, double-click on the extension file and Safari will detect and install it (you’ll need to verify the installation by telling Safari that you “trust” the extension).

  4. With NoMoreiTunes installed, any time you navigate to an iTunes or App Store page in Safari, you’ll see a notification bar at the top of the window letting you know that the extension prevented the iTunes or App Store apps from launching. If, however, you’d actually like these apps to launch, you can click the button on the right side of the bar.