ChatGPT Execute Code button Firefox

Examine source code of ChatGPT Execute Code button

提供元: TinkerTank
Inspect and view changes in ChatGPT Execute Code button source codes across current and past versions
Please login to examine the extension's source code.
manifest.json
{
  "manifest_version": 2,
  "name": "ChatGPT Execute Code button",
  "version": "1.0.0",
  "description": "In ChatGPT, js code-blocks get a 'Execute Code' button, which allows js-code to be executed immediately in the context of the browser.",
  "content_scripts": [
    {
      "matches": [
        "https://chat.openai.com/*"
      ],
      "js": [
        "content.js"
      ]
    }
  ],
  "permissions": [
    "activeTab"
  ],
  "icons": {
    "48": "icon.png",
    "96": "icon@2x.png"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "{e7badb56-1c26-4d75-a01b-2b0021facaf0}"
    }
  }
}

ベストのChatGPT Execute Code button代替案

ChatGPT Execute Code buttonに類似したFirefox add-onをいくつか紹介します: