summaryrefslogtreecommitdiff
path: root/extension/manifest.dhall
diff options
context:
space:
mode:
Diffstat (limited to 'extension/manifest.dhall')
-rw-r--r--extension/manifest.dhall30
1 files changed, 30 insertions, 0 deletions
diff --git a/extension/manifest.dhall b/extension/manifest.dhall
new file mode 100644
index 0000000..cf9e7a1
--- /dev/null
+++ b/extension/manifest.dhall
@@ -0,0 +1,30 @@
+{ manifest_version = 2
+, name = "computerspotting"
+, version = "1.0"
+, description = "spot the computer"
+, icons =
+ [ { mapKey = "48", mapValue = "assets/mrgreen.png" }
+ ]
+, web_accessible_resources =
+ [ "mrgreen.png"
+ , "mrblue.png"
+ ]
+, permissions =
+ [ "webRequest"
+ , "webRequestBlocking"
+ , "tabs"
+ , "cookies"
+ , "*://*.twitch.tv/*"
+ , "*://api.colonq.computer/*"
+ ]
+, background =
+ { scripts = ["background.js"]
+ }
+, content_scripts =
+ [ { matches = ["*://*.twitch.tv/*"]
+ , js = ["config.js", "main.js"]
+ , css = ["main.css"]
+ , run_at = "document_end"
+ }
+ ]
+} \ No newline at end of file