Modern for Hacker News

Modern for Hacker News

A redesigned web interface for Hacker News. Enhance your Hacker News experience with a beautiful, clean, modern design that's fully customizable.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "version": "1.14",
  "manifest_version": 2,
  "name": "Modern for Hacker News",
  "short_name": "Modern for Hacker News",
  "description": "A redesigned web interface for Hacker News.",
  "browser_action": {
    "default_title": "Modern for Hacker News",
    "default_icon": {
      "16": "images/icon2.png",
      "48": "images/icon2.png",
      "96": "images/icon2.png",
      "128": "images/icon2.png",
      "256": "images/icon2.png"
    },
    "default_popup": "popup.html"
  },
  "icons": {
    "16": "images/icon2.png",
    "48": "images/icon2.png",
    "96": "images/icon2.png",
    "128": "images/icon2.png",
    "256": "images/icon2.png"
  },
  "permissions": [
    "activeTab",
    "storage",
    "unlimitedStorage",
    "*://news.ycombinator.com/*",
    "https://extensionpay.com/*",
    "https://hacker-news.firebaseio.com/*"
  ],
  "background": {
    "scripts": [
      "ExtPay.js",
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": [
        "*://news.ycombinator.com/*"
      ],
      "js": [
        "content_start.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://news.ycombinator.com/*"
      ],
      "js": [
        "jquery-3.5.1.min.js",
        "popper.min.js",
        "tippy-bundle.umd.min.js",
        "linkify.min.js",
        "linkify-jquery.min.js",
        "luxon.min.js",
        "litepicker.js",
        "clipboard-polyfill.js",
        "ExtPay.js",
        "content.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "https://extensionpay.com/*"
      ],
      "js": [
        "ExtPay.js"
      ],
      "run_at": "document_start"
    }
  ],
  "web_accessible_resources": [
    "content.css",
    "images/*",
    "fonts/*"
  ],
  "content_security_policy": "script-src 'self'; object-src 'self'; connect-src https://extensionpay.com",
  "browser_specific_settings": {
    "gecko": {
      "id": "{b9edf38a-e293-4606-a088-e63cd4e56d2d}"
    }
  }
}