-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.chrome.json
50 lines (50 loc) · 1.18 KB
/
manifest.chrome.json
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
{
"manifest_version": 3,
"name": "SideHN",
"version": "1.0.1",
"description": "The web, with a side of HackerNews. Shows a sidebar with HN comments if the link was opened from HN",
"author": "Alin Panaitiu",
"homepage_url": "https://github.com/alin23/sidehn",
"icons": {
"16": "[email protected]",
"48": "[email protected]",
"128": "[email protected]"
},
"background": {
"service_worker": "background.js"
},
"host_permissions": ["https://news.ycombinator.com/*", "*://*/*?*hnid=*"],
"permissions": [
"activeTab",
"tabs",
"storage",
"declarativeNetRequest",
"cookies"
],
"content_scripts": [
{
"matches": ["https://news.ycombinator.com/*", "*://*/*?*hnid=*"],
"js": ["browser-polyfill.min.js", "script.js"],
"run_at": "document_end"
}
],
"minimum_chrome_version": "102.0",
"action": {
"default_icon": {
"16": "[email protected]",
"48": "[email protected]",
"128": "[email protected]"
},
"default_title": "SideHN",
"default_popup": "popup.html"
},
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset",
"enabled": true,
"path": "rules.json"
}
]
}
}