AdBlocker by Trustnav

AdBlocker by Trustnav

Adblocker by Trustnav is the definitive adblock as it removes popups, annoying banners and video ads.

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_app_name__",
  "short_name": "__MSG_app_name__",
  "description": "__MSG_app_description__",
  "version": "2.8.6",
  "default_locale": "en",
  "browser_action": {
    "default_popup": "./views/popup/popup.html",
    "default_icon": "./icons/Block64.png"
  },
  "content_scripts": [
    {
      "all_frames": true,
      "js": [
        "adblock/polyfill.js",
        "adblock/ext/common.js",
        "adblock/ext/content.js",
        "adblock/include.preload.js"
      ],
      "match_about_blank": true,
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": true,
      "js": [
        "./vendors/jquery.min.js",
        "./content_scripts/popup_blocker/utils.js",
        "./content_scripts/popup_blocker/events.js",
        "./content_scripts/popup_blocker/popupBlocker.js"
      ],
      "css": [
        "./content_scripts/popup_blocker/css/style.css"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_start"
    },
    {
      "all_frames": false,
      "js": [
        "./config/config.js",
        "./vendors/jquery.min.js",
        "./content_scripts/notifications.js"
      ],
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "exclude_matches": [
        "*://*.trustnav.com/*"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": false,
      "js": [
        "./content_scripts/account.js"
      ],
      "matches": [
        "*://*.trustnav.com/*"
      ],
      "run_at": "document_end"
    },
    {
      "all_frames": false,
      "js": [
        "./config/config.js",
        "./content_scripts/trustnav_frame.js"
      ],
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_end"
    }
  ],
  "icons": {
    "16": "./icons/Block16.png",
    "32": "./icons/Block32.png",
    "48": "./icons/Block48.png",
    "64": "./icons/Block64.png",
    "128": "./icons/Block128.png"
  },
  "background": {
    "page": "./background/background.html"
  },
  "permissions": [
    "<all_urls>",
    "tabs",
    "webRequest",
    "webRequestBlocking",
    "webNavigation",
    "storage",
    "cookies",
    "contextMenus",
    "unlimitedStorage",
    "notifications"
  ],
  "storage": {
    "managed_schema": "adblock/managed-storage-schema.json"
  },
  "web_accessible_resources": [
    "/views/notifications/notifications.html",
    "views/popUpBlockNotification/index.html",
    "views/notifications/installation_success/index.html",
    "views/notifications/daily/index.html",
    "views/notifications/0days/index.html",
    "views/notifications/limit_reached/index.html",
    "views/notifications/search_extension_uninstalled/index.html"
  ],
  "content_security_policy": "script-src 'self' https://ssl.google-analytics.com https://connect.facebook.net https://platform.twitter.com https://cdn.amplitude.com; object-src 'self'"
}