summaryrefslogtreecommitdiff
path: root/src/manifest.json
blob: 137bfe54bd537c3827f0b0639fc62195325569f6 (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
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
{
  "manifest_version": 2,
  "default_locale": "en",
  "name": "NoScript",
  "applications": {
    "gecko": {
      "id":  "{73a6fe31-595d-460b-a920-fcc0f8843232}",
      "strict_min_version": "59.0"
    }
  },
  "version": "10.1.8.9rc9",
  "description": "__MSG_Description__",

  "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'none'",

  "icons": {
    "48": "img/icon48.png",
    "96": "img/icon96.png",
    "256": "img/icon256.png"
  },

  "permissions": [
      "contextMenus",
      "privacy",
      "storage",
      "tabs",
      "unlimitedStorage",
      "webNavigation",
      "webRequest",
      "webRequestBlocking",
      "<all_urls>"
  ],

  "background": {
    "persistent": true,
    "scripts": [
      "lib/uuid.js",
      "lib/log.js",
      "lib/include.js",
      "lib/punycode.js",
      "lib/tld.js",
      "lib/ResponseMetaData.js",
      "common/Policy.js",
      "common/locale.js",
      "common/Entities.js",
      "common/SyntaxChecker.js",
      "common/Storage.js",
      "ui/Prompts.js",
      "xss/XSS.js",
      "bg/deferWebTraffic.js",
      "bg/main.js"
    ]
  },

  "content_scripts": [
    {
      "run_at": "document_start",
      "matches": ["<all_urls>"],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "lib/log.js",
        "content/onScriptDisabled.js",
        "content/content.js",
        "content/PlaceHolder.js"
      ]
    },
    {
       "matches": ["<all_urls>"],
       "match_about_blank": true,
       "all_frames": true,
       "css": [
         "/content/content.css"
       ]
     }
  ],

  "options_ui": {
    "page": "ui/options.html",
    "open_in_tab": true
  },

  "browser_action": {
    "default_area": "navbar",
    "default_title": "NoScript",
    "default_icon": {
      "64": "img/ui-maybe64.png"
    }
  },

  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Alt+Shift+N"
      }
    },
    "togglePermissions": {
      "suggested_key": {
        "default": "Ctrl+Shift+T"
      }
    }
  }
}