diff options
| author | ManeraKai <manerakai@protonmail.com> | 2021-10-21 20:37:28 +0300 |
|---|---|---|
| committer | ManeraKai <manerakai@protonmail.com> | 2021-10-21 20:37:28 +0300 |
| commit | 398b122ec66a729a19446816a131ecc72fa46905 (patch) | |
| tree | 014511c7bcea465c8a9383c3a819b4f6438ccf10 /src/manifest.json | |
| parent | Merge pull request #272 from Elaborendum/patch-1 (diff) | |
| download | libredirect-398b122ec66a729a19446816a131ecc72fa46905.zip | |
Added Change Instance btn to address-bar
Diffstat (limited to 'src/manifest.json')
| -rw-r--r-- | src/manifest.json | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/src/manifest.json b/src/manifest.json index 9a2031f5..25b37e1c 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -14,7 +14,24 @@ "48": "assets/images/icon48.png", "128": "assets/images/icon128.png" }, - "permissions": ["storage", "webRequest", "webRequestBlocking", "<all_urls>"], + "permissions": [ + "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 +51,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 +82,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 +92,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 |
