Posts

Post not yet marked as solved
0 Replies
137 Views
I'm trying to convert an existing Chrome Extension to Safari Web Extension. Immediately after convert, xcode opens and I build the project. Everything looks perfect in Safari: the popup works fine, the context menu item is there, options are there. The moment I restart Safari, the context menu item disappears and service worker is not loaded. My Manifest v3: "background": { "service_worker": "js/background.js" }, "permissions": [ "contextMenus", "activeTab", "storage" ], My background script: chrome.contextMenus.removeAll(() => { chrome.contextMenus.create(properties); });
Posted Last updated
.