Skip to content

Commit

Permalink
commenting scripts line works in Chrome to avoid error, will need to …
Browse files Browse the repository at this point in the history
…be restored to work in Firefox
  • Loading branch information
cgorringe committed Aug 13, 2024
1 parent 7898148 commit d6fa77e
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions webextension/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
},
"homepage_url": "https://archive.org/",
"permissions": [
"activeTab",
"cookies",
"contextMenus",
"notifications",
"storage",
"scripting",
"webRequest"
"activeTab",
"cookies",
"contextMenus",
"notifications",
"storage",
"scripting",
"webRequest"
],
"host_permissions": [
"https://archive.org/*",
Expand All @@ -40,19 +40,17 @@
"<all_urls>"
],
"optional_permissions": [
"bookmarks"
"bookmarks"
],
"background": {
"scripts": ["scripts/background.js", "scripts/utils.js"],
// "scripts": ["scripts/background.js", "scripts/utils.js"],
"service_worker": "scripts/background.js"
},
"content_scripts": [
{
"matches": ["http://*.wikipedia.org/*", "https://*.wikipedia.org/*"],
"js": ["scripts/wikipedia.js"],
"css": ["css/wikipedia.css"]
}
],
"content_scripts": [{
"matches": ["http://*.wikipedia.org/*", "https://*.wikipedia.org/*"],
"js": ["scripts/wikipedia.js"],
"css": ["css/wikipedia.css"]
}],
"web_accessible_resources": [{
"resources": ["/css/archive.css", "/images/*"],
"matches": ["<all_urls>"]
Expand Down

0 comments on commit d6fa77e

Please sign in to comment.