Tampermonkey

Tampermonkey

Change the web at will with userscripts

Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "content_security_policy": "script-src 'self'; object-src 'self';",
  "minimum_chrome_version": "71.0.0.0",
  "offline_enabled": true,
  "content_scripts": [
    {
      "js": [
        "page.js",
        "content.js"
      ],
      "matches": [
        "file:///*",
        "http://*/*",
        "https://*/*"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "browser_action": {
    "default_icon": {
      "16": "images/icon_grey16.png",
      "19": "images/icon_grey19.png",
      "24": "images/icon_grey24.png",
      "32": "images/icon_grey32.png",
      "38": "images/icon_grey38.png"
    },
    "default_title": "Tampermonkey",
    "default_popup": "action.html"
  },
  "icons": {
    "32": "images/icon.png",
    "48": "images/icon48.png",
    "128": "images/icon128.png"
  },
  "incognito": "split",
  "name": "__MSG_extName__",
  "short_name": "__MSG_extShortName__",
  "description": "__MSG_extDescription__",
  "version": "5.1.0",
  "default_locale": "en",
  "background": {
    "page": "background.html"
  },
  "options_page": "options.html",
  "options_ui": {
    "page": "options.html",
    "chrome_style": false,
    "open_in_tab": true
  },
  "commands": {
    "toggle-enable": {
      "description": "Toggle enable state"
    },
    "open-dashboard": {
      "description": "Open dashboard"
    },
    "open-dashboard-with-running-scripts": {
      "description": "Open dashboard with the current tab's URL used as filter"
    },
    "open-new-script": {
      "description": "Open new script tab"
    }
  },
  "permissions": [
    "notifications",
    "unlimitedStorage",
    "tabs",
    "idle",
    "webNavigation",
    "webRequest",
    "webRequestBlocking",
    "storage",
    "contextMenus",
    "chrome://favicon/",
    "clipboardWrite",
    "cookies",
    "declarativeContent",
    "<all_urls>"
  ],
  "optional_permissions": [
    "downloads"
  ],
  "update_url": "https://edge.microsoft.com/extensionwebstorebase/v1/crx"
}