-
Notifications
You must be signed in to change notification settings - Fork 71
/
manifest.json
81 lines (73 loc) · 2.32 KB
/
manifest.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
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
{
"manifest_version": 3,
"name": "HN Special - An addition to Hacker News",
"description": "This extension refreshes the visual style of Hacker News and adds a few features, like infinite scrolling. Everything is toggleable.",
"version": "1.5.0",
"homepage_url": "http://gabrielecirulli.github.io/hn-special/",
"host_permissions": ["*://news.ycombinator.com/*"],
"optional_permissions": ["history"],
"browser_specific_settings": {
"gecko": {
"id": "hn-special-firefox@gabrielecirulli.github.io",
"strict_min_version": "109.0"
}
},
"background": {
"scripts": ["lib/extras/background.js"]
},
"content_scripts": [
{
"matches": ["*://news.ycombinator.com/*"],
"js": ["lib/tools/hide_flash.js"],
"run_at": "document_start"
},
{
"matches": ["*://news.ycombinator.com/*"],
"js": [
"lib/tools/utility.js",
"lib/settings.js",
"lib/modules/visual_theme.js",
"lib/modules/dark_theme.js",
"lib/modules/high_contrast.js",
"lib/modules/gray_visited_links.js",
"lib/modules/open_links_in_new_tabs.js",
"lib/modules/highlight_links_when_returning.js",
"lib/modules/infinite_scrolling.js",
"lib/modules/accurate_domain_names.js",
"lib/modules/mark_as_read.js",
"lib/modules/sticky_header.js",
"lib/modules/user_tooltips.js",
"lib/modules/hide_downvote.js"
],
"css": ["lib/extras/hn_theme_base.css"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": [
"lib/defaults.json",
"lib/extras/permissions.html",
"lib/extras/permissions.js",
"lib/extras/hn_theme_base.css",
"lib/extras/hn_theme_light.css",
"lib/extras/hn_theme_light_contrast.css",
"lib/extras/hn_theme_dark.css",
"resources/gear.svg",
"resources/arrow-up-white.svg",
"resources/arrow-down-white.svg",
"resources/arrow-up-black.svg",
"resources/arrow-down-black.svg",
"resources/logo.svg"
],
"matches": ["*://news.ycombinator.com/*"]
}
],
"icons": {
"16": "promo/icons/icon16.png",
"32": "promo/icons/icon32.png",
"48": "promo/icons/icon48.png",
"64": "promo/icons/icon64.png",
"128": "promo/icons/icon128.png"
}
}