How to reset Safari Extensions and their permissions

Hi, I have an extension on which I have allowed "foo.com", but then from permissions in manifest.json I removed "foo.com" then re-built the extension but still see "foo.com" in the extension's permissions list in preferences. Then I uninstalled the extension and re-built, still I can see "foo.com" in the list and allowed, it should not have been there, as I have removed now.

How do I reset an extension in Safari? If even uninstalling and reinstalling is not working?

Thanks

Did you ever figure out a solution to this? We're experiencing the same thing.

+1 to getting to know how to reset the extension state to initial state.

You need to turn on the debug menu in Safari

  • grant full disk access to Terminal
  • run defaults write com.apple.Safari IncludeInternalDebugMenu -bool true

In the debug menu select Extensions > reset web extensions state

But I would like to know how to do this on iOS.

How to reset Safari Extensions and their permissions
 
 
Q