summaryrefslogtreecommitdiff
path: root/extension/manifest.dhall
blob: cf9e7a1a601787d9edead189e81e0d9dfbb1af25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
    }
  ]
}