How to allow or block a Safari extension on a specific website

Learn how to manage Safari extensions for each website separately to allow or block an extension for specific sites on your iPhone, iPad, or Mac.

Mac Safari Extensions settings

Safari extensions are small pieces of HTML code that make your web browser more versatile and useful. You may not want to use them on each and every website you visit, and Apple gives you that control.

For instance, I prefer to use Grammarly in the WordPress editor but not on Google Docs. Also, I regularly use the Dark Eye extension on Wikipedia.org to activate Dark Mode but not on iDownloadBlog.com as our site already provides a dedicated Dark Mode toggle.

Don’t allow an extension to run on all websites

Running a Safari extension from the App Store for the first time presents you with a few privacy-focused choices. You can allow the extension to run for one day on that specific website, always allow it on that particular website, or always allow it on every website.

What’s the purpose of this extension? Do you really need to allow it on all websites? Most people will only need to run an extension on specific websites for a limited time. If you’re among them, choose Allow for one day or Always allow on this website.

Here’s how to manage permissions for any Safari extension:

Mac: Open Safari, click an extension icon in the browser toolbar, and select an option.

Option to choose when allowing a Safari extension to run on Mac

iPhone and iPad: Go to Settings > Apps > Safari > Extensions or visit a website in Safari, then tap the options button followed by the extension name and select Allow for One Day, Always Allow, or Don’t Allow.

Allow or block an extension to run in Safari on iPhone

Managing per-site Safari extensions

Irrespective of what permission you initially gave to a Safari extension, you can manage them later on a per-website basis in the Safari settings.

Mac

  1. Open Safari and click the Safari > Settings menu.
  2. Select the Extensions tab.
  3. Select an extension in the sidebar to manage its permission.
  4. Click the Edit Websites button. If it’s greyed-out, be sure to tick a desired extension in the sidebar,
  5. Click the menu next to Configured Websites or Currently Open Websites and choose AllowDeny, or Ask.
  6. You can optionally hit the “For other websites” menu to adjust permission for all other websites.
Edit website permission for a Safari extension on Mac

Note: Some extensions won’t display an Edit Websites button. For others, the button may be unavailable until you’ve allowed the extension on at least one website.

iPhone and iPad

  1. Open the Settings app and navigate to Apps > Safari > Extensions.
  2. Tap any enabled extension
  3. Choose AllowDeny, or Ask for a website shown under the Permissions heading.
  4. Tap Other Websites at the bottom and set it to Ask (recommended), Deny, or Allow.
Manage Safari extension permission for websites on iPhone

Websites not listed in extension settings?

A website doesn’t show up in the extensions setting unless you’ve allowed it to run on at least one website. It also may not show up if the website isn’t currently open. So, open a site and then check the Safari settings on your iPhone, iPad, or Mac, and you should see the website listed there. You can also assign an extension to a specific Safari profile.Websites not showing and then showing in Safari extensions settings on iPhone

On the same note: