newshelper

newshelper

Safeguard news reading experience

Additional files are visible only to premium users

manifest.json


{
  "applications": {
    "gecko": {
      "id": "newshelper@g0v.tw",
      "strict_min_version": "51.0"
    }
  },
  "manifest_version": 2,
  "default_locale": "en",
  "name": "__MSG_extensionName__",
  "description": "__MSG_extensionDescription__",
  "version": "1.6.0",
  "author": "ronnywang, wildsky, racklin",
  "permissions": [
    "notifications",
    "http://newshelper.g0v.tw/*",
    "https://www.facebook.com/*",
    "http://www.facebook.com/*",
    "http://*/*",
    "https://*/*"
  ],
  "background": {
    "scripts": [
      "vendor/jquery-3.2.1.min.js",
      "libs/url-normalizer.js/url-normalizer.js",
      "background.js"
    ]
  },
  "page_action": {
    "default_icon": "icons/icon.png",
    "default_title": "__MSG_extensionPageActionTitle__",
    "default_popup": "popup.html"
  },
  "web_accessible_resources": [
    "libs/url-normalizer.js/map.csv"
  ],
  "content_scripts": [
    {
      "matches": [
        "http://www.facebook.com/*",
        "https://www.facebook.com/*",
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "vendor/jquery-3.2.1.min.js",
        "content_script.js"
      ],
      "css": [
        "content_style.css"
      ],
      "run_at": "document_idle",
      "all_frames": false
    }
  ],
  "homepage_url": "https://addons.mozilla.org/zh-TW/firefox/addon/newshelper/",
  "repository": {
    "type": "git",
    "url": "git://github.com/g0v/newshelper-extension.git"
  },
  "bugs": {
    "url": "https://github.com/g0v/newshelper-extension/issues"
  },
  "keywords": [
    "newshelper",
    "g0v-tw"
  ],
  "icons": {
    "48": "icons/newshelper48x48.png",
    "96": "icons/newshelper96x96.png",
    "128": "icons/newshelper128x128.png"
  }
}