view-current-source Firefox

Examine source code of view-current-source

提供元: Thomas Greiner
Inspect and view changes in view-current-source source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 3,
  "name": "view-current-source",
  "version": "1.7.1",
  "minimum_chrome_version": "111.0",
  "browser_specific_settings": {
    "gecko": {
      "id": "view-current-source@greinr.com",
      "strict_min_version": "112.0"
    }
  },
  "description": "View the source code of a page at its current state.",
  "icons": {
    "16": "assets/logo16.png",
    "128": "assets/logo128.png"
  },
  "background": {
    "scripts": [
      "src/bootstrap/background/index.js"
    ],
    "service_worker": "src/bootstrap/background/index.js",
    "type": "module"
  },
  "options_ui": {
    "open_in_tab": true,
    "page": "src/ui-options/ui/index.htm"
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "src/polyfills/shared/index.js",
        "src/renderer/content/serializer-css.js",
        "src/renderer/content/serializer-html.js",
        "src/ui-viewer/content/index.js"
      ],
      "run_at": "document_end",
      "all_frames": false
    }
  ],
  "commands": {
    "view-current-source": {
      "suggested_key": {
        "default": "Ctrl+Shift+U"
      },
      "description": "Opens current source code viewer for active tab"
    }
  },
  "permissions": [
    "activeTab",
    "contextMenus",
    "scripting",
    "storage",
    "tabs"
  ]
}

ベストのview-current-source代替案

view-current-sourceに類似したFirefox add-onをいくつか紹介します: