aboutsummaryrefslogtreecommitdiff
path: root/manifest.json
diff options
context:
space:
mode:
authorRadu <radu@pml4t.net>2023-08-26 22:16:49 -0400
committerRadu <radu@pml4t.net>2023-08-27 16:45:40 -0400
commitd98ab397c9b17036569b7a6e277b2790b02d1093 (patch)
tree708737cb50ac9354ccc4a069d95078774bb1c181 /manifest.json
parent76debe0071fef6865bd0fb79199f53932bf063c0 (diff)
Allow restricting websites on which extension runs
Diffstat (limited to 'manifest.json')
-rw-r--r--manifest.json10
1 files changed, 10 insertions, 0 deletions
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"