Code Copier

Code Copier

Code Copier - Extension to copy contents inside <code> and <pre> tags with right click

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Code Copier",
  "author": "Ice Lam",
  "homepage_url": "https://github.com/icelam/code-copier",
  "version": "1.0",
  "description": "Code Copier - Extension to copy contents inside <code> and <pre> tags with right click",
  "icons": {
    "16": "assets/images/icons/icon16.png",
    "32": "assets/images/icons/icon32.png",
    "36": "assets/images/icons/icon36.png",
    "48": "assets/images/icons/icon48.png",
    "128": "assets/images/icons/icon128.png"
  },
  "browser_action": {
    "default_icon": {
      "16": "assets/images/icons/icon16.png",
      "24": "assets/images/icons/icon24.png",
      "32": "assets/images/icons/icon32.png"
    },
    "default_title": "Code Copier",
    "default_popup": "index.html"
  },
  "permissions": [
    "clipboardWrite",
    "storage"
  ],
  "content_scripts": [
    {
      "run_at": "document_end",
      "matches": [
        "https://*/*",
        "http://*/*"
      ],
      "js": [
        "assets/js/content-script.js"
      ],
      "css": [
        "assets/css/web.css"
      ]
    }
  ],
  "options_ui": {
    "page": "options.html",
    "browser_style": true,
    "chrome_style": true
  },
  "content_security_policy": "default-src 'self'; script-src 'self' 'unsafe-eval' blob:; style-src * 'unsafe-inline'; font-src *"
}