Context Search Firefox

Examine source code of Context Search

Inspect and view changes in Context Search source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "default_locale": "en",
  "name": "__MSG_extensionName__",
  "description": "__MSG_extensionDescription__",
  "version": "6.3.1",
  "homepage_url": "https://github.com/odebroqueville/contextSearch",
  "author": "Olivier de Broqueville",
  "browser_specific_settings": {
    "gecko": {
      "id": "contextsearch.help@gmail.com",
      "strict_min_version": "139.0",
      "data_collection_permissions": {
        "required": [
          "searchTerms"
        ]
      }
    }
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self'; object-src 'self'; img-src 'self' data:;"
  },
  "action": {
    "default_icon": "/icons/icon_32.png",
    "default_title": "Bookmark the active tab to Context Search"
  },
  "sidebar_action": {
    "default_icon": {
      "16": "icons/context-search.svg",
      "32": "icons/context-search.svg"
    },
    "default_title": "Search results",
    "default_panel": "/html/sidebar.html",
    "open_at_install": false
  },
  "background": {
    "scripts": [
      "cs_service_worker.js"
    ],
    "type": "module"
  },
  "permissions": [
    "alarms",
    "contextMenus",
    "declarativeNetRequestWithHostAccess",
    "menus",
    "scripting",
    "storage",
    "search",
    "tabs",
    "tabGroups"
  ],
  "optional_permissions": [
    "bookmarks",
    "clipboardWrite",
    "downloads",
    "history",
    "notifications"
  ],
  "host_permissions": [
    "<all_urls>"
  ],
  "omnibox": {
    "keyword": "cs"
  },
  "icons": {
    "16": "icons/icon_16.png",
    "20": "icons/icon_20.png",
    "24": "icons/icon_24.png",
    "32": "icons/icon_32.png",
    "48": "icons/icon_48.png",
    "64": "icons/icon_64.png",
    "128": "icons/icon_128.png",
    "256": "icons/icon_256.png",
    "512": "icons/icon_512.png"
  },
  "options_ui": {
    "page": "/html/options.html",
    "open_in_tab": true
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "/scripts/logging.js",
        "/scripts/selection.js"
      ]
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "/scripts/logging.js",
        "/scripts/quick-preview.js"
      ],
      "css": [
        "/styles/quick-preview-bubble.css"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "all_frames": true,
      "match_about_blank": true,
      "js": [
        "/scripts/logging.js",
        "/scripts/qp-css-applier.js"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "http://*/*#_sidebar",
        "https://*/*#_sidebar"
      ],
      "css": [
        "/styles/sidebar.css"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "/scripts/selection.js",
        "/icons/context-search.svg"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ]
}

ベストのContext Search代替案

Context Searchに類似したFirefox add-onをいくつか紹介します: