Content Farm Terminator

Content Farm Terminator

Marks content farm links, prevents accidental visiting, and blocks content farms' ads and mallicious scripts.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "__MSG_appName__",
  "version": "5.15.0",
  "description": "__MSG_appDesc__",
  "author": "Danny Lin",
  "default_locale": "en",
  "minimum_chrome_version": "58",
  "homepage_url": "https://danny0838.github.io/content-farm-terminator/",
  "incognito": "split",
  "icons": {
    "48": "img/content-farm-marker_48.png"
  },
  "permissions": [
    "contextMenus",
    "tabs",
    "unlimitedStorage",
    "webRequest",
    "webRequestBlocking",
    "storage",
    "http://*/",
    "https://*/"
  ],
  "optional_permissions": [
    "history"
  ],
  "background": {
    "persistent": true,
    "scripts": [
      "lib/browser-polyfill.js",
      "lib/Regex.js",
      "content-farm-filter.js",
      "utils.js",
      "background.js"
    ]
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "http://*/*",
        "https://*/*",
        "file:///*"
      ],
      "js": [
        "lib/browser-polyfill.js",
        "utils.js",
        "content.js"
      ],
      "run_at": "document_start"
    }
  ],
  "options_ui": {
    "chrome_style": false,
    "open_in_tab": true,
    "page": "options.html"
  },
  "web_accessible_resources": [
    "blocked.html",
    "sandbox.html",
    "img/*"
  ],
  "browser_action": {
    "default_icon": "img/content-farm-marker_48.png",
    "default_title": "__MSG_appName__"
  }
}