A minimal Chrome Extension that automatically patches your browser with a global cssScan() function. Designed for quickly copying HTML trees and matching CSS for LLMs.
- Global Function:
cssScan()is available on every page and frame. - Smart CSS Extraction: Matches only rules relevant to the selected element and its children.
- LLM Ready: Copies formatted HTML + CSS directly to your clipboard.
- Download this folder.
- Go to
chrome://extensions/. - Enable Developer mode.
- Click Load unpacked and select this folder.
- Open Chrome DevTools Console (
F12). - Type
cssScan($0)to scan the currently selected element in the Elements tab. - Or type
cssScan(temp1)if you used "Store as global variable". - The result is automatically copied to your clipboard.