HN Special - An addition to Hacker News
This extension refreshes the visual style of Hacker News and adds a few features, like infinite scrolling. Everything is toggleable.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version": 2,
"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.4.11",
"homepage_url": "http://gabrielecirulli.github.io/hn-special/",
"permissions": [
"*://news.ycombinator.com/*"
],
"optional_permissions": [
"history"
],
"applications": {
"gecko": {
"id": "[email protected]",
"strict_min_version": "57.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": [
"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"
],
"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"
}
}