Selection Command

Selection Command

On a web page, you can set your own commands for the selected text.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "__MSG_extName__",
  "description": "__MSG_extDescription__",
  "version": "0.5.0",
  "default_locale": "en",
  "icons": {
    "128": "icon128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "/src/content_script.js"
      ]
    }
  ],
  "background": {
    "service_worker": "/src/background_script.js"
  },
  "options_page": "options_page.html",
  "sandbox": {
    "pages": [
      "sandbox.html"
    ]
  },
  "action": {},
  "side_panel": {
    "default_path": "sidepanel.html"
  },
  "permissions": [
    "storage",
    "tabs",
    "sidePanel",
    "declarativeNetRequest"
  ],
  "host_permissions": [
    "http://*/*",
    "https://*/*"
  ],
  "web_accessible_resources": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "resources": [
        "src/content_script.css"
      ]
    }
  ]
}