Skip to content
sarhaan77Public

About

graffiti the web!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graffiti

Chrome extension to graffiti any website! Describe what you want ("hide ads", "beach vibes") and Gemini sprays CSS onto the page.

Examples: yt bloomberg substack

Setup

  1. Get a free Gemini API key
  2. Load the extension in Chrome:
    • Go to chrome://extensions
    • Enable "Developer mode" (top right)
    • Click "Load unpacked"
    • Select this folder
  3. Click the extension icon and paste your API key

Warning: I made this extension for me, so it is customized to how I like it. Get your Claude to review it before using it!

Usage

  • Click the extension on any page
  • Type what you want to change (e.g., "remove the sidebar", "dark mode", "make text larger")
  • Click "Spray" to generate and preview CSS
  • Click "Keep It" to save, or "Wipe" to discard

Element picker: Click the crosshair icon to select a specific element on the page, then describe what to do with it.

Development

No build step. After code changes, go to chrome://extensions and click the refresh icon on the Graffiti card.

To regenerate icons: open assets/icons/icon-generator.html in a browser and download each size.

How it works

  • CSS is generated via Gemini API with structured JSON output
  • Rules are stored per-domain (or per-path if toggled)
  • CSS injects at document_start for zero-flash application
  • Conversation context is maintained for iterative refinements

About

graffiti the web!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages