summaryrefslogtreecommitdiff
path: root/src/manifest.json
blob: 7a150061b096e7412af357c4fb760458b4d75205 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
  "manifest_version": 2,
  "default_locale": "en",
  "name": "NoScript",
  "applications": {
    "gecko": {
      "id":  "{73a6fe31-595d-460b-a920-fcc0f8843232}",
      "strict_min_version": "59.0"
    }
  },
  "version": "11.0.26rc1",
  "description": "__MSG_Description__",
  "incognito": "spanning",

  "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",
      "storage",
      "tabs",
      "unlimitedStorage",
      "webNavigation",
      "webRequest",
      "webRequestBlocking",
      "<all_urls>"
  ],

  "background": {
    "persistent": true,
    "scripts": [
      "lib/UA.js",
      "lib/browser-polyfill.js",
      "lib/uuid.js",
      "lib/SyncMessage.js",
      "lib/log.js",
      "lib/include.js",
      "lib/punycode.js",
      "lib/tld.js",
      "lib/LastListener.js",
      "lib/Messages.js",
      "lib/CSP.js",
      "lib/NetCSP.js",
      "lib/TabCache.js",
      "common/CapsCSP.js",
      "common/Policy.js",
      "common/locale.js",
      "common/Entities.js",
      "common/SyntaxChecker.js",
      "common/Storage.js",
      "ui/Prompts.js",
      "xss/XSS.js",
      "bg/ReportingCSP.js",
      "bg/deferWebTraffic.js",
      "bg/Defaults.js",
      "bg/RequestGuard.js",
      "bg/Settings.js",
      "bg/main.js"
    ]
  },

  "content_scripts": [
    {
       "matches": ["<all_urls>"],
       "match_about_blank": true,
       "all_frames": true,
       "css": [
         "/content/content.css"
       ]
     },
    {
      "run_at": "document_start",
      "matches": ["<all_urls>"],
      "match_about_blank": true,
      "all_frames": true,
      "js": [
        "lib/UA.js",
        "lib/browser-polyfill.js",
        "lib/log.js",
        "lib/uuid.js",
        "lib/SyncMessage.js",
        "lib/sha256.js",
        "lib/Messages.js",
        "lib/CSP.js",
        "common/CapsCSP.js",
        "content/DocumentCSP.js",
        "content/onScriptDisabled.js",
        "content/staticNS.js",
        "content/PlaceHolder.js",
        "content/content.js",
        "content/embeddingDocument.js",
        "content/webglHook.js",
        "content/media.js",
        "content/sanitizePaste.js"
      ]
    },
    {
      "run_at": "document_start",
      "matches": ["ftp://*/*"],
      "js": [
        "content/ftp.js"
      ]
    }
  ],

  "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": {
      "description": "NoScript UI",
      "suggested_key": {
        "default": "Alt+Shift+N"
      }
    },
    "togglePermissions": {
      "description": "Toggle permissions",
      "suggested_key": {
        "default": "Ctrl+Shift+T"
      }
    }
  }
}