-
Notifications
You must be signed in to change notification settings - Fork 43
/
manifest.js
50 lines (50 loc) · 1.46 KB
/
manifest.js
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
module.exports = manifest = {
"manifest_version": 2,
"name": "Dissenter Extension",
"short_name": "Dissenter",
"description": "Dissenter is the comment section of the Internet.",
"homepage_url": "https://dissenter.com",
"icons": {
"16": "assets/images/logo/icon-16.png",
"48": "assets/images/logo/icon-48.png",
"128": "assets/images/logo/icon-128.png"
},
"permissions": [
"activeTab",
"tabs",
"https://*.dissenter.com/*"
],
"browser_action": {
"default_icon": "assets/images/logo/icon-128.png",
"default_popup": "popup/popup.html"
},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+Shift+D",
"mac": "Alt+Shift+D"
}
}
},
"background": {
"scripts": [
"background/background.js"
]
},
"content_scripts": [
{
"matches": ["https://*.twitter.com/*"],
"js": ["content/twitter/script/script.js"]
},
{
"matches": ["https://*.youtube.com/*"],
"js": ["content/youtube/script/script.js"]
},
{
"matches": ["https://*.reddit.com/*"],
"js": ["content/reddit/script/script.js"]
}
],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self' https://*.dissenter.com/*",
"incognito": "spanning"
};