aboutsummaryrefslogtreecommitdiff
path: root/manifest.json
blob: 0c8c28d327de57dd352a2e5ca08c6889817d3303 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
  "manifest_version": 2,
  "name": "GNU LibreJS",
  "short_name": "LibreJS",
  "version": "7.21.0",
  "author": "various",
  "description": "Only allows free and/or trivial Javascript to run.",
  "applications": {
    "gecko": {
      "id": "jid1-KtlZuoiikVfFew@jetpack",
      "strict_min_version": "60.0"
    }
  },
  "icons": {
    "64": "icons/librejs.png"
  },
  "permissions": [
    "contextMenus",
    "webRequest",
    "webRequestBlocking",
    "activeTab",
    "notifications",
    "sessions",
    "storage",
    "tabs",
    "<all_urls>"
  ],
  "browser_action": {
    "browser_style": true,
    "default_icon": {
      "64": "icons/librejs.png"
    },
    "default_title": "LibreJS",
    "default_popup": "html/display_panel/content/display-panel.html"
  },
  "options_ui": {
    "page": "html/preferences_panel/preferences_panel.html",
    "open_in_tab": true
  },
  "web_accessible_resources": [
    "html/report_page/report.html"
  ],
  "background": {
    "scripts": [
      "bundle.js"
    ]
  },
  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": [
        "<all_urls>"
      ],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "content/externalLicenseChecker.js",
        "content/noscript.js"
      ]
    }
  ]
}