We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebef2f3 commit 9aa2d45Copy full SHA for 9aa2d45
src/manifest.json
@@ -17,7 +17,6 @@
17
},
18
"permissions": ["storage"],
19
"optional_permissions": [
20
- "tabs",
21
"https://startpage.com/*",
22
"https://www.startpage.com/*",
23
"https://www.youtube.com/*",
src/options_page.js
@@ -70,8 +70,7 @@ const setSearchEnginePermission_ = async (checkbox) => {
70
if (checkbox.checked) {
71
checkbox.checked = false;
72
// eslint-disable-next-line no-undef
73
- const granted = await browser.permissions.request(
74
- {permissions: ['tabs'], origins: urls});
+ const granted = await browser.permissions.request({origins: urls});
75
checkbox.checked = granted;
76
} else {
77
0 commit comments