source-code/
snakey-extension
Public
css2 lines983 B
#score-display{z-index:99999999!important;pointer-events:auto!important;box-sizing:border-box!important;background-color:#fff!important;border:1px solid #e5e7eb!important;border-radius:9999px!important;align-items:center!important;gap:12px!important;padding:8px 24px!important;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important;display:flex!important;position:fixed!important;top:20px!important;left:50%!important;transform:translate(-50%)!important;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f!important}#score-display .score-dot{box-sizing:border-box!important;background-color:#ef4444!important;border-radius:50%!important;width:16px!important;height:16px!important;box-shadow:0 0 8px #ef444499!important}#score-display span{color:#1e293b!important;letter-spacing:-.025em!important;font-family:inherit!important;font-size:24px!important;font-weight:700!important;line-height:1!important}
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.
linkrasis.me
Browser ExtensionChrome MV3Firefox MV3PhaserReactTypeScriptVite