Skip to content

Instantly share code, notes, and snippets.

@orlandoaleman
Last active August 5, 2022 14:21
Show Gist options
  • Save orlandoaleman/3a68f9800138b30ce5300cebf4e5e298 to your computer and use it in GitHub Desktop.
Save orlandoaleman/3a68f9800138b30ce5300cebf4e5e298 to your computer and use it in GitHub Desktop.
Trick for enable extensions in Safari Browser 13/14 on macOS Catalina

"Safari detected that an app or service interfered with clicking" ("Safari ha detectado que una app o servicio ha interferido con el clic")

Recently I had a problem with macOS Catalina 10.15.6 that Safari did prevent enable extensions. After many retries, and browsing the Internet forums, I decided to try another way. And I finally found the solution:

With a text editor, for example, nano, edit the file Extensions.plist (ensure Safari is closed):

$ nano ~/Library/Containers/com.apple.Safari/Data/Library/Safari/AppExtensions/Extensions.plist

And append the text for each extension you want to enable:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>com.agilebits.onepassword7.1PasswordSafariAppExtension (2BUA8C4S2C)</key>
  <dict>
    ...
    <key>Enabled</key> <--------- THE MAGIC (REMOVE THIS COMMENT)
    <true/>
    ...
  </dict>
</dict>
</plist>
@orlandoaleman
Copy link
Author

hi Orlando,
is this right?
i clicked ctrl+o then i was asked to choose (at the bootom of this photo), which 1 do i choose?

Press Enter

@JuneBond
Copy link

didn't work. still can't install extension...

@donderstock
Copy link

I signed up for a Github account to thank you for this! After several months of dealing with ads and saying I'd get around to the downgrade Safari/install extensions/update Safari workaround, I was able to enable Ghostery Lite in five minutes by adding keys to the Extensions and ContentBlockers plists.

@orlandoaleman
Copy link
Author

I signed up for a Github account to thank you for this! After several months of dealing with ads and saying I'd get around to the downgrade Safari/install extensions/update Safari workaround, I was able to enable Ghostery Lite in five minutes by adding keys to the Extensions and ContentBlockers plists.

I'm glad my solution worked for you. I was also desperate at this problem.
Regards

@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Aug 5, 2022

@JuneBond, https://gist.github.com/orlandoaleman/3a68f9800138b30ce5300cebf4e5e298#file-fix_safari_enabling_extensions-md does not contain executable code. I do not suggest that you potentially corrupt Safari's extension-storage if you are unable to instantly recognize that. Have you attempted what https://support.apple.com/HT203051 describes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment