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
Post
Replies
Boosts
Views
Activity
I have a very basic extension with manifest_version: 3
I tried to convert it through safari-web-extension-converter but it failed to convert with the error unable to parse the manifest.json.
I changed the version to 2 and it worked perfectly.
Is there no compatibility for manifest version 3 extension conversion?
I checked the Assessing Your Safari Web Extension’s Browser Compatibility article, but it had no mentions regarding the manifest version 3 incompatibility.
Is there something else, that I could be missing? and is this documented somewhere else?
My system info:
macOS 11.4 Big Sur
XCode 13.0 beta 3
Thanks
I just converted a chrome extension with XCode command line
xcrun /Applications/Xcode-beta.app/Contents/Developer/usr/bin/safari-web-extension-converter /Users/macminitwo/Downloads/new-tab-background
which had no icon in manifest, after conversion there was build error
error: Build input file cannot be found: '/Users/macminitwo/camo theme/Shared (App)/Resources/Icon.png' (in target 'camo theme (iOS)' from project 'camo theme')
Then I updated manifest.json of main project and added icon to the project
"icons": { "16": "icon16.png", "48": "icon48.png", "128": "icon128.png" }
tried converting again, and it still gave same error.
Now, I have to manually put the icon in "resources" folder.
Note: every time on conversion, it said abort trap 6
What should I do to not get this error? And have icon there already.
System Info:
macOS: 11.4 Big Sur
XCode: 13.0 beta 3