-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to Manifest V3 #8
Conversation
},
"permissions": ["activeTab", "contextMenus", "scripting", "storage"],
"optional_permissions": ["tabs", "clipboardWrite"],
+ "host_permissions": ["<all_urls>"],
"background": {
"service_worker": "src/eventPage.js"
},
},
"permissions": ["activeTab", "contextMenus", "scripting", "storage"],
"optional_permissions": ["tabs", "clipboardWrite"],
+ "optional_host_permissions": ["<all_urls>"],
"background": {
"service_worker": "src/eventPage.js"
}, |
This way, callbacks can be executed without "Unchecked runtime.lastError".
This PR updates the extension to use Manifest V3.
Starting in January 2023, "the Chrome browser will no longer run Manifest V2 extensions." (source)
Firefox does not currently support Manifest V3, but it is scheduled to be available soon: "we are hoping to complete enough work on this project to support developer testing in Q4 2021 and start accepting v3 submissions in early 2022." (source)