Link Protector

Link Protector

Adds the noopener attribute to links (third-party only) and prevents websites from accessing the opener window.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "version": "0.1.0",
  "manifest_version": 2,
  "name": "Link Protector",
  "permissions": [
    "storage"
  ],
  "short_name": "link-protector",
  "background": {
    "page": "lib/chrome/background.html"
  },
  "homepage_url": "https://mybrowseraddon.com/link-protector.html",
  "description": "Adds the noopener attribute to links (third-party only) and prevents websites from accessing the opener window.",
  "browser_action": {
    "default_title": "Link Protector",
    "default_icon": {
      "16": "data/icons/16.png",
      "32": "data/icons/32.png",
      "48": "data/icons/48.png",
      "64": "data/icons/64.png"
    }
  },
  "content_scripts": [
    {
      "all_frames": true,
      "matches": [
        "<all_urls>"
      ],
      "run_at": "document_idle",
      "js": [
        "data/content_script/inject.js"
      ]
    }
  ],
  "icons": {
    "16": "data/icons/16.png",
    "32": "data/icons/32.png",
    "48": "data/icons/48.png",
    "64": "data/icons/64.png",
    "128": "data/icons/128.png"
  }
}