StopTheMadness for Safari Support


Help Topics:

Safari 12 and Mojave Support
StopTheMadness has full support for Safari 12 and for macOS 10.14 Mojave. StopTheMadness is a Safari App Extension, which is the newer extension format now recommended by Apple. StopTheMadness is not affected by Apple's deprecation of the older .safariextz extension format.

How to Enable the Safari Extension:

  1. Purchase and install StopTheMadness in the App Store.

  2. Open Safari on your Mac.

  3. In Safari, open the Preferences windows.

    Safari main menu

  4. Select the Extensions tab in the Preferences window and check the box next to StopTheMadness to enable it.

    Safari Extensions Preferences

According to Safari's Preferences, StopTheMadness "Can read sensitive information from webpages, including passwords, phone numbers, and credit cards on all webpages" and "Can see when you visit all webpages". However, this is just boilerplate text from Apple shown for every Safari extension that can modify webpages. StopTheMadness does not read, use, or share your personal data. The privacy policy has more details about StopTheMadness privacy.

Safari Technology Preview:
StopTheMadness is fully compatible with Safari Technology Preview. However, enabling StopTheMadness in Safari does not automatically enable it in Safari Technology Preview, so you'll need to enable StopTheMadness in Safari Technology Preview's Preferences.

Contextual Menus:
By default, StopTheMadness stops web sites from disabling Safari's contextual menu. This is useful for example on YouTube, where Safari's contextual menu allows you to easily Enter Picture in Picture. If you still need to open a web site's custom contextual menu instead of Safari's contextual menu, just press the option key while you open the menu.

StopTheMadness inserts a "StopTheMadness Settings…" item into Safari's contextual menu. This menu item opens the StopTheMadness app and gives you easy access to your settings. If you don't want this item to appear in Safari's contextual menu, uncheck the StopTheMadness setting "Add StopTheMadness item to contextual menus in Safari."

Website Protections:
You can selectively enable and disable StopTheMadness protection features. Your custom protections can be configured to apply to every web page or just to web sites that you specify. To change your protections, open the StopTheMadness app in the Applications folder.

StopTheMadness main window

There are a number of protection features that you can enable and disable. By default, most of these protections are enabled. (See the Contextual Menus section above to temporarily override contextual menus protection.) When a protection is enabled, it prevents websites from overriding Safari's standard behavior. In most cases, you'll want the StopTheMadness protections to be enabled. However, sometimes disabling a StopTheMadness protection is necessary for website compatibility. If you uncheck "Cut, Copy, and Paste", for example, then websites are allowed to override Safari's standard behavior for cut, copy, and paste.

When you change the protections in StopTheMadness, those changes will apply the next time you load a web site in Safari. If you already have a web site open in Safari, and you want the changes to apply immediately to the web site, you need to reload the page in Safari.

How to Add Website Protections:
The Default Website Protections apply to every web page in Safari, unless you have custom protections for a particular site. To create custom protections for a website, press the + button. There are two ways to specify websites: domain or URL. Examples of domains are "" and "". If you specify a domain, then subdomains of that domain are automatically covered too. For example, "" also covers "", "", etc. If you want a subdomain to have different protections than its domain, create a separate item for the subdomain. The longest match always wins, so if you have items for both "" and "", then your "" protections will apply when you load the page "". If you want protections to apply only to subdomains but not to the domain, put a dot at the beginning: "" applies to "", etc., but not to "".

You may want to apply custom protections only to certain paths of a website, in which case you need to specify the website as a full URL. For example, if you enter "", then the custom protections will only apply to Google Maps and not to Google Search at "". Subpaths are automatically covered too: "" would also cover "". You can customize subpath protections by creating a separate item for the subpath. As with domains, the longest match among URLs always wins. And a URL setting that includes a domain will override a domain setting for the same domain, since the URL is longer. So "" takes precedence over "".

Focus and Blur:
The Focus and Blur protection is an experimental feature, disabled by default. It has compatibility issues on a number of sites and should only be enabled on a site where you know you need it. A focus event occurs when a website element gets the keyboard focus, and a blur event occurs when a website element loses the keyboard focus. Enabling the Focus and Blur protection prevents websites from capturing these events. This protection cannot be enabled with the Default Website Protections, because it would cause breakages on too many sites.

Known Website Compatibility Issues:
In these cases you may want to create custom website protections and disable the specific protection.