Python-Fiddle

Python-Fiddle

Run python code from websites like stackoverflow.com, ChatGPT, github.com, geeksforgeeks.org, and pastebin.com on python-fiddle.com

Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 3,
  "name": "Python-Fiddle",
  "description": "Run python code from websites like stackoverflow.com, ChatGPT, github.com, geeksforgeeks.org, and pastebin.com on python-fiddle.com",
  "version": "1.5.0",
  "icons": {
    "16": "icons/icon16.png",
    "32": "icons/icon32.png",
    "48": "icons/icon48.png",
    "128": "icons/icon128.png"
  },
  "content_scripts": [
    {
      "matches": [
        "https://stackoverflow.com/*",
        "https://github.com/*",
        "https://gist.github.com/*",
        "https://pastebin.com/*",
        "https://chatgpt.com/*",
        "https://www.geeksforgeeks.org/*"
      ],
      "css": [
        "style.css"
      ],
      "js": [
        "python-fiddle.js.mjs"
      ]
    }
  ],
  "web_accessible_resources": [
    {
      "resources": [
        "icons/badge.svg"
      ],
      "matches": [
        "<all_urls>"
      ]
    }
  ],
  "background": {
    "service_worker": "service-worker.js"
  },
  "content_security_policy": {
    "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';"
  }
}