Hi,
Sorry to bring up this old thread again, but is there any update or decision about Safari MV2 deprecation time line? like the Chrome document https://developer.chrome.com/docs/extensions/migrating/mv2-sunset/, It would be very helpful for WebExt developers to prioritize their work
Thanks!
Post
Replies
Boosts
Views
Activity
Created a feedback here https://feedbackassistant.apple.com/feedback/10022359
Thanks!
testing on Safari 15.4, even browser.webNavigation.onCompleted also behaves unstably
It can get non zero tabId, but can still return zero tabId sometimes.
My test procedure
open a new tab
go to foo.com
close the tab
Repeat 1~3 many times, it looks like the first time onCompleted callback still return 0 tabId
However I also encountered that some website always return 0 tabId no matter how many times I try
Because of the unstable results, it indeed brings quite some hassle and confusion. The root cause is also unclear, it works for some website but not for others, is it related with the website itself? or my safari settings? or even my machine's settings.
Hopefully it can be fixed or documented.
Hi, I have the same question, as the sites are already defined in the manifest permission section, after we turn on the WebExtension, user seems need to click Edit WebSites... or Always allow on Every Website... to consent the permission
From doc
https://developer.apple.com/documentation/safariservices/safari_web_extensions/managing_safari_web_extension_permissions
When the user visits a page where your Safari web extension has not yet been granted access permission, the toolbar item for the extension displays a badge to indicate to the user that action is required to grant permissions. The user may click the toolbar item and select an option to grant permission for a single use, for the day, or for all websites, or to deny permission. So if the permission is granted in manifest, it this a bug that users have to manually grant the permission again?