Closed dstein64 closed 8 months ago
~Currently autonomous highlighting and global highlighting don't work. The following change in manifest.json
would fix the issue:~
},
"permissions": ["activeTab", "contextMenus", "scripting", "storage"],
"optional_permissions": ["tabs", "clipboardWrite"],
+ "host_permissions": ["<all_urls>"],
"background": {
"service_worker": "src/eventPage.js"
},
~There is currently no way to add optional host permissions, which the extension utilized under Manifest V2 in order to support autonomous highlighting and global highlighting.~
~The following links have related information. There is a proposal to add optional_host_permissions
.~
~With optional_host_permissions
the plugin could support autonomous highlighting and global highlighting in the same way it did under Manifest V2.~
},
"permissions": ["activeTab", "contextMenus", "scripting", "storage"],
"optional_permissions": ["tabs", "clipboardWrite"],
+ "optional_host_permissions": ["<all_urls>"],
"background": {
"service_worker": "src/eventPage.js"
},
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)