From d98ab397c9b17036569b7a6e277b2790b02d1093 Mon Sep 17 00:00:00 2001 From: Radu Date: Sat, 26 Aug 2023 22:16:49 -0400 Subject: Allow restricting websites on which extension runs --- manifest.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'manifest.json') diff --git a/manifest.json b/manifest.json index 4dbdacb..3bf0b83 100644 --- a/manifest.json +++ b/manifest.json @@ -3,9 +3,11 @@ "name": "TeX Type", "version": "0.1.0", "description": "Converts commands (some TeX) in textboxes to unicode as one types.", + "permissions": ["storage"], "content_scripts": [{ "matches": ["*://*/*"], "js": [ + "lib/extension.js", "init-unicode-maps.js", "unicode-maps-to-bold.js", "unicode-maps-to-subscript.js", @@ -13,6 +15,14 @@ "page.js" ] }], + "action": { + "default_popup": "popup.html", + "default_title": "TeX Type Settings" + }, + "options_ui": { + "page": "options.html", + "open_in_tab": true + }, "browser_specific_settings": { "gecko": { "id": "tex-type@pml4t.net" -- cgit v1.2.3