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>
@JuneBond
Copy link

I don't really understand this. I have no knowledge on codes like this. When i see something like this, I normally copy paste it to terminal but i don't think this is using terminal, isn't it? please help me because I'm desperate to install the extensions on my safari

@orlandoaleman
Copy link
Author

orlandoaleman commented Oct 22, 2020

I don't really understand this. I have no knowledge on codes like this. When i see something like this, I normally copy paste it to terminal but i don't think this is using terminal, isn't it? please help me because I'm desperate to install the extensions on my safari

Hi boy! The explanation is a five steps sequence:

  1. open the Terminal.app,
  2. paste “ls ~/Library/Containers/com.apple.Safari/Data/Library/Safari/AppExtensions/Extensions.plist && echo yes)
  3. if shell answers “yes”, then continue. Else, I can help you. Abort this tutorial!
  4. paste nano ~/Library/Containers/com.apple.Safari/Data/Library/Safari/AppExtensions/Extensions.plist. Nano is a shell based text editor. Now paste <key>Enabled</key> <true/> inside every extension definition dictionary (exists a block <key>reverse-domain-of-extension</key><dict></dict>)
  5. save file and exit (ctrl-o, Enter, ctrl-x) https://askubuntu.com/questions/477603/how-to-save-a-file-using-nano

@JuneBond
Copy link

JuneBond commented Oct 22, 2020

Hi Orlando,
Thanks for the reply. I'm not sure if i'm getting it right... is this right? if so, where do i paste this: <key>Enabled</key> <true/>

Screenshot 2020-10-22 at 15 33 31

Better at the end of that block, just before </dict>

9FA67E74-6BF1-40C6-9D18-3D56887548CE

@JuneBond
Copy link

hi Orlando,
is this right?
Screenshot 2020-10-22 at 19 02 58

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

@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