source-code/
snakey-extension
Public
codeCodeinfoIssues 0call_splitPull Requestsplay_circleActions
snakey-extension/dist/firefox/manifest.json
json27 lines568 B
{
  "manifest_version": 3,
  "name": "Snakey - DOM Eating Snake",
  "version": "1.0",
  "description": "Click the extension icon to let the snake loose and eat all DOM elements on the webpage immediately!",
  "permissions": [
    "activeTab",
    "scripting",
    "tabs"
  ],
  "background": {
    "scripts": ["background.js"]
  },
  "action": {
    "default_title": "Release Snakey!"
  },
  "icons": {
    "128": "favicon.svg"
  },
  "browser_specific_settings": {
    "gecko": {
      "id": "snakey@andreyyste.codes",
      "strict_min_version": "109.0"
    }
  }
}

About

Snakey Browser Extension is a cross-browser extension built using Manifest V3 that injects a playable Phaser 3 game onto any active tab. It parses the page DOM, turns HTML elements into target coordinates, and features custom chomp/collapse animations. It supports both Chromium (background service worker) and Firefox (background scripts), implements a Canvas-based rendering fallback to bypass strict WebGL CORS limitations, and applies fully container-scoped vanilla CSS overrides to prevent style bleeding on host pages.

Browser ExtensionChrome MV3Firefox MV3PhaserReactTypeScriptVite

Contributors

1