diff options
author | alefvanoon <53198048+alefvanoon@users.noreply.github.com> | 2021-12-04 20:37:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-04 20:37:50 +0100 |
commit | 5fa9ff1de308fcb605379f0bbfb17ef0bb7f486b (patch) | |
tree | b906d138076c27d9a3df627bd3e0920c7919ace2 /src/manifest.json | |
parent | Merge pull request #2 from MonsieurBibo/patch-1 (diff) | |
parent | Preserved url's path. Only the domain will change now. (diff) | |
download | libredirect-5fa9ff1de308fcb605379f0bbfb17ef0bb7f486b.zip |
Merge pull request #3 from ManeraKai/change-instance-btn
Change instance btn
Diffstat (limited to 'src/manifest.json')
-rw-r--r-- | src/manifest.json | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/src/manifest.json b/src/manifest.json index 9a2031f5..83557cfe 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -14,7 +14,25 @@ "48": "assets/images/icon48.png", "128": "assets/images/icon128.png" }, - "permissions": ["storage", "webRequest", "webRequestBlocking", "<all_urls>"], + "permissions": [ + "tabs", + "storage", + "webRequest", + "webRequestBlocking", + "<all_urls>" + ], + "page_action": { + "show_matches": [ + "<all_urls>" + ], + "default_title": "Change Instance", + "default_icon": { + "16": "assets/images/icon16.png", + "32": "assets/images/icon32.png", + "48": "assets/images/icon48.png", + "128": "assets/images/icon128.png" + } + }, "browser_action": { "default_title": "Privacy Redirect", "default_popup": "pages/popup/popup.html", @@ -34,7 +52,9 @@ "*://pbs.twimg.com/*", "*://video.twimg.com/*" ], - "js": ["assets/javascripts/remove-twitter-sw.js"], + "js": [ + "assets/javascripts/remove-twitter-sw.js" + ], "run_at": "document_start" }, { @@ -63,7 +83,9 @@ "*://c7hqkpkpemu6e7emz5b4vyz7idjgdvgaaa3dyimmeojqbgpea3xqjoid.onion/*", "*://w6ijuptxiku4xpnnaetxvnkc5vqcdu7mgns2u77qefoixi63vbvnpnqd.onion/*" ], - "js": ["assets/javascripts/persist-invidious-prefs.js"], + "js": [ + "assets/javascripts/persist-invidious-prefs.js" + ], "run_at": "document_start" } ], @@ -71,11 +93,13 @@ "page": "pages/options/options.html", "open_in_tab": false }, - "web_accessible_resources": ["assets/javascripts/helpers/*"], + "web_accessible_resources": [ + "assets/javascripts/helpers/*" + ], "browser_specific_settings": { "gecko": { "id": "{b7f9d2cd-d772-4302-8c3f-eb941af36f76}", "strict_min_version": "67.0" } } -} +} \ No newline at end of file |