Kenneth Ballenegger has shipped Usermods, an open-source browser extension that acts as a local coding agent for web customization. Instead of manually writing Greasemonkey scripts or hunting for community fixes, users simply describe the desired change in a side panel chat. The agent inspects the live DOM, writes the userscript, tests it in real-time, and presents a 'Try and Save' option. Itβs a direct pipeline from natural language to executable browser code, bypassing the traditional friction of script development.
Agent-Driven Web Customization
The core innovation here is the autonomous agent loop. Usermods doesn't just guess; it reads a pruned version of the page's HTML, lists specific elements, checks computed styles, and even takes screenshots to verify visual changes. Before proposing a fix, the agent runs scripts to test its work, ensuring the generated code actually functions on the live site. This 'vibe-coding' approach allows for one-off tasks too, such as scrolling to the bottom and opening every carousel to grab download links, without requiring a permanent mod.
Provider Agnostic and Local-First
Ballenegger designed Usermods to be backend-agnostic, supporting Anthropic, OpenAI, xAI, and OpenRouter. Crucially, it also supports local models via Ollama, LM Studio, and vLLM, meaning your data never has to leave your machine if you choose. For those with existing subscriptions, the extension can sign in directly to ChatGPT (Plus, Pro, Team) or SuperGrok/X Premium+, eliminating the need for separate API keys. This flexibility ensures users aren't locked into a specific vendor's pricing or privacy model.
Migration and Compatibility
The extension isn't trying to reinvent the wheel; it's trying to automate it. Usermods exports standard .user.js files, making it fully compatible with existing ecosystems like Greasy Fork and Tampermonkey. It features a one-file import for entire Tampermonkey libraries and maintains GM_* API compatibility, including @require and @resource directives. The project is currently in early status but works end-to-end, with builds for Chrome (v135+) and Safari (Mac, iPhone, iPad).
Privacy and Security
In an era of data harvesting, Usermods stands out by having no server, no account, and no telemetry. All data stays in extension local storage. When a user sends a message, the page content, HTML, and screenshots are sent directly from the browser to the chosen provider. The author explicitly notes that if the page is your bank or mailbox, that sensitive content goes to the LLM unless you use a local model, in which case nothing leaves the device. The panel warns users of this before the first message, reinforcing a transparent security model.
Key Takeaways
- Usermods uses an agentic loop to inspect, write, and test userscripts automatically.
- Supports any LLM backend, including local models like Ollama and vLLM for privacy.
- Direct sign-in support for ChatGPT and SuperGrok subscriptions removes API key friction.
- Fully compatible with Tampermonkey via one-file import and standard .user.js exports.
The Bottom Line
This is the natural evolution of browser extensions: stop hunting for scripts and start generating them on the fly. Balleneggerβs approach respects user privacy while delivering genuine utility, making it a must-try for anyone tired of modal-signup hell.