Post

Replies

Boosts

Views

Activity

Reply to Safari Web Extension: How do we programmatically close the toolbar icon popup window?
hey bweinstein, is it expected to work in options as well? i have the following workflow: upon install, open onboarding in options after onboarding, prompt for user to login once logged in, display "success" confirmation and window.close() in 10 seconds. getting the same error: ⚠️ Can't close the window since it was not opened by JavaScript.
Topic: App & System Services SubTopic: General Tags:
Dec ’20
Reply to Context menu item disappears in converted Safari Web Extension
Apparently there is a bug that context menus are not persisted between loads / launches. So I deleted this part: chrome.runtime.onInstalled.addListener(function() { and with just this it works fine: chrome.contextMenus.create({				 "title": chrome.i18n.getMessage("contextMenu"),				 "contexts": ["selection"],				 "id": "selection"		 });
Topic: Safari & Web SubTopic: General Tags:
Nov ’20