2026-11-26 15:40 UTC

Alter launches natural-language website customization for Chrome

state: seedheat: mediumuncertainty: mediumrelevance: mediumbrowser-customization natural-language-interface creative-toolsAxel Vanden Heuvel

What is this?

Alter is an open-source Chrome extension by Axel Vanden Heuvel. Its GitHub README describes a release users can install by loading an unpacked ZIP in Chrome 138 or newer; it is not listed in the Chrome Web Store. Users describe website changes in natural language, preview them, and save them per site. The README says Alter uses a user-supplied Anthropic API key, keeps the key and saved changes in the browser, and can run scripts only after user approval. It also documents one-off page actions such as exporting an article or table. The supplied evidence is the project’s own GitHub description and its creator’s Show HN post; no independent testing or adoption evidence is provided.

Why it matters

Alter makes browser customization more like asking for a small design or workflow change than writing CSS or installing a site-specific extension. Its preview-and-save flow could let individuals reshape pages for readability, focus, or personal tools, including changes that need scripts. The project also illustrates a way to combine a language model with browser access while keeping proposed changes reviewable. Its reach is currently limited by manual installation, Chrome-only support, the need for an Anthropic key, and the absence of independent evidence about reliability or safety. Security and privacy protections described in the README are developer claims, not independently verified findings.

Current assessment

The new development is a creator-announced, open-source Chrome extension, not a browser-platform release. In a Show HN post dated 2026-11-24, author axel2moon says users can request changes such as a dark theme or hiding a sidebar, see a live preview, and save changes for future visits; the post also mentions one-off actions and BYOK, then supporting Anthropic. The linked GitHub README provides implementation and installation details: Chrome 138+, manual installation from a release ZIP, and an MIT license. It describes CSS and a built-in dark-mode engine for visual changes, plus user-approved scripts for changes CSS cannot make. It says scripts are subject to safety checks and do not run on specified sensitive sites; it also describes page data sent to Anthropic when needed and data kept locally. These are claims in the project documentation, not independently audited guarantees. The README names Claude Sonnet 5.5 as the default and Haiku 5.5 and Opus 5.5 as selectable options, but the supplied sources do not independently establish model availability or evaluate performance. No benchmark, independent security review, or adoption data is supplied. The practical implication is a low-friction way for technically curious users to personalize pages and add small page-specific utilities without changing the underlying site; broader significance depends on usability, robustness across sites, and trust in the permission and script-safety model.

Measured heat

now 0 pts/hpeak 6 pts/hcomments 0/hpeers p21momentum: steady2 platformsage 68h
points/hour across evidence Β· reading as of 2026-11-27 02:23:58.509736+11:00 Β· deterministic, not a model opinion

How the heat travelled

11-23 19:24 (minted)⭐ origin echo-reconstructedAlter describes a Chrome extension that lets users request website changes in natural language, preview and save them, and approve scripts f
Axel Vanden Heuvel on github (echo) Β· attributed from hn.story.50617387 Β· published time unknown
β€”
11-23 19:11first on hacker news Β· published Β· lag ?Show HN: Alter – Restyle any website by typing what you want (extension, BYOK)
axel2moon
β€”
11-23 19:11amplified on hacker news πŸ‘‘hn.story.50617387
axel2moon
peak 2 Β· 0 comments Β· 103% of case engagement
11-23 19:21our radar first saw it Β· lag ?discovery anchor: hn.story.50617387β€”
pace: p15 vs 1989 stories at the 48h mark (now 68h old) β€” behind agent-adaptive-llm-serving-paper (0.5x)

Evidence (2) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: Alter – Restyle any website by typing what you want (extension, BYOK)
Retrieved article excerpt

Open article Β· Retrieved 2026-11-23T19:23:24.152761+00:00

# Alter

Describe how you want a website to look or read, and Alter changes it.
Open Alter on any site, type "create a dark mode", "hide reels/shorts", or "add a button that exports this table to CSV", and the change appears on the page as a live preview.
Save it and it applies every time you visit that site.

[Typing "give this a modern dark theme" into Alter on Hacker News turns the whole page dark, and the change is saved for the site](https://github.com/AxelVandenHeuvel/alter/blob/main/docs/demo/hacker-news-dark.gif)

Changes are CSS, a built-in dark theme engine, and, for things CSS can't do, scripts that you review and approve before they run.
Alter can also run one-time actions on the page you're on, like downloading a post as a text file.

**Remove what you don't want.** "Hide the Most Read sidebar and let the stories use the full width" on Ars Technica:

[Alter hides the Most Read column on Ars Technica, and the story list widens to fill the page](https://github.com/AxelVandenHeuvel/alter/blob/main/docs/demo/hide-sidebar.gif)

**Take something with you.** "Download this article as a markdown file" on Wikipedia, after you approve the one-time script:

[Alter writes a one-time script, asks to run it, and saves the Wikipedia article as Hacker\_News.md](https://github.com/AxelVandenHeuvel/alter/blob/main/docs/demo/download-article.gif)

The recordings are real runs with Claude Sonnet, with the wait while it works sped up.

## Install

Alter isn't in the Chrome Web Store, so you install it from a release.
You need Chrome 138 or newer and your own Anthropic API key.

1. Download `alter-<version>.zip` from the [latest release](https://github.com/AxelVandenHeuvel/alter/releases/latest) and unzip it.
2. Open `chrome://extensions` and turn on **Developer mode** (top right).
3. Click **Load unpacked** and pick the unzipped folder.
   Keep the folder: Chrome runs Alter from it.
4. On any website, click the Alter icon (pin it from the puzzle-piece menu), choose **Alter** from the right-click menu, or press βŒ˜β‡§Y (Ctrl+Shift+Y).
5. Create a key at <https://console.anthropic.com/settings/keys> and paste it into Alter.
   It stays in your browser and goes only to Anthropic.
6. Optional, for changes that need a script: on Alter's details page in `chrome://extensions`, turn on **Allow User Scripts**.
   Alter walks you through this the first time a change needs one.

**Cost.** You pay Anthropic for what you use.
Every reply shows what it cost, Settings adds up the month, and you can set a monthly limit there.

**Updating.** Installs from a release don't update themselves.
When a newer version is out, a dot appears on the Settings button, and Settings links to it.
Download it, replace the contents of the folder you installed from with the new files, and click the reload button on Alter's card in `chrome://extensions`.
Your saved changes and key are kept, since Chrome ties them to that folder.

## Using it

- Alter floats over the page without moving it.
  Drag it by its title, and shrink it with –.
- The suggestions in an empty panel fit the page: "Show just the recipe" on recipe pages, "Show just the article" on articles, a light theme for pages that are already dark.
- A preview shows its title and status, with **Discard** and **Save** below.
  Click the title for the details: what the change does and its code.
  A preview that isn't working, or has nothing to change on the page, says so without opening it.
- Press and hold the eye button on a preview to see the page without it, and let go to see the change again (mouse, touch, or hold Space).
- Open a saved change to see what it does and its code, or to **Delete** it, with **Undo** for a few seconds.
  To adjust one, just ask in the message box.
- βŒ˜β†΅ (Ctrl+↡) saves the change you're previewing, from anywhere in the panel.
- In the message box, the up arrow brings back your last message; **Esc** tucks the panel away into the corner button, conversation intact.
- The toolbar icon shows how many saved changes are on for the site you're on, so it's always clear when a site looks different because of Alter.
- Settings lists every site you've changed, so you can clear one without visiting it, and shows the keyboard shortcut (changeable at `chrome://extensions/shortcuts`).
- Alter itself comes in three looks, picked at the bottom of Settings: Plain (black and white), Patchwork (fabric scraps stitched together), and Selvedge (raw denim and leather).

## How it works

```
Panel (React, extension iframe) Page (content script, isolated world)
 chat + agent loop  ── msg ──▢ snapshot / query / computed styles
 Claude via BYO key            applier: <style> layers + Dark Reader engine
 save / toggle / delete ─────▢ chrome.storage.local ──▢ re-render live
Background worker: registers the page agent at document_start on hosts with saved changes
```

- **Floating panel**: the panel is Alter's own extension page in an iframe the page agent places over the site (`src/content/widget.ts`), so it runs in the extension's origin (the site can't read it or reach the API key) and never resizes the page. Its URL is web-accessible only through Chrome's per-session dynamic URL, so sites can't use it to detect Alter.
- **Agent loop** (`src/agent/`): Claude gets a compressed outline of the page (wrapper divs and generated class names removed, repeated items collapsed, request-related elements expanded) and six tools: `get_snapshot`, `query_selector`, `get_computed_styles`, `find_page_data`, `propose_patch`, and `run_action`.
  Every proposal is previewed on the page, and the tool result reports the measured colors afterwards so the model can check its own work and retry.
- **No account, no servers**: Alter talks straight to Claude.
  The user's own key goes only to Anthropic; every reply shows which model answered and what it cost (worked out from the response's token usage, `src/agent/pricing.ts`), Settings adds up the month, and an optional monthly limit stops requests once it's reached (`src/lib/spend.ts`).
- **Provider interface** (`src/agent/provider.ts`): the loop is provider-neutral.
  A conversation's transcript stays with the provider and model that wrote it; switching starts a new transcript and sends the page again.
  `AnthropicProvider` uses strict tool use, adaptive thinking, prompt caching, and server-side refusal fallbacks.
  Claude Sonnet 5.5 is the default; Haiku 5.5 (cheapest) and Opus 5.5 (most capable) can be picked in Settings.
- **Design rules**: the system prompt (`src/agent/prompt.ts`, "Making changes look good") tells Claude to start from the site's own fonts, colors, and design tokens, and to meet a short list of quality rules: readable contrast, comfortable type, one spacing scale, a coherent palette, working hover and focus states, no layout breakage, and restraint.
  Fixes blend in, added elements match the site, and a new look the user asks for is applied as one coherent design.
  The rules are part of the cached prompt, so they add no noticeable time.
- **Data the site loaded** (`src/content/page-data.ts`): sites download more than they show (a post's author comes with their follower count), so a small script Alter ships runs in the page's main world from document start, on sites Alter has access to, and keeps copies of the JSON responses the site receives through `fetch` and `XMLHttpRequest`, plus JSON embedded in the page.
  It only reads responses; it never makes a request, and it skips sensitive sites.
  Copies reach Alter's isolated worlds as DOM events, where change scripts read them with `alter.data.each` and `alter.data.onLoad`, and the model searches them with the `find_page_data` tool.
  The site can see and fake those events, which only changes what a script displays.
- **Visual check** (`src/content/visual-check.ts`): the page is measured before the first preview and after each one, and only problems the change caused are reported to the model: text below WCAG contrast (measured against what is actually painted behind it), text that was readable and is now covered, hidden, invisible, or on an image it can't measure, large areas that kept the old look when the page flipped between light and dark, sideways scrolling, and newly cut-off text.
  Screen-reader-only text is left out, since nobody sees it.
  Logos and icons are checked in screenshots taken before and after (`src/entrypoints/panel/pixel-check.ts`): one that showed before and now blends into what is behind it (a white logo left on a page that turned light) is reported too.
  The check covers what is on screen and takes tens of milliseconds, plus about half a second for the screenshots.
  The model is asked to fix what it finds up to two times per request, then to tell the user what is still off.
- **Dark mode** uses the Dark Reader engine (bundled `darkreader` package), which analyzes the page's real stylesheets.
  The model turns it on, tunes it, and adds CSS for site-specific fixes.
- **Scripts** run through `chrome.userScripts`, the API Chrome provides for user-approved scripts.
  The model writes the body of a function that receives `alter` (`src/userscript/runtime.js`), a small helper library whose watchers, listeners, timers, and elements are all tracked, so turning a change off removes it cleanly.
  Previews run with `userScripts.execute`; saved scripts are registered with `userScripts.register`, each in its own isolated world.
- **Screenshots and selected areas**: the crosshair button next to the message box lets you drag a box over part of the page (or click an element) to point at it ("this is cut off, fix it"); pasting a screenshot works too.
  For a selected area the AI gets the cropped screenshot plus the exact elements inside it (`src/content/select-area.ts`), so "this" is unambiguous.
  Screenshots use `chrome.tabs.captureVisibleTab`, which Chrome allows after Alter is opened from its icon, menu, or shortcut (activeTab).
- **Labels computed from the page**: "add a cost-per-ounce column" or "show price per GB" adds small inline labels with a script.
  The runtime provides `alter.badge` (labels in their own shadow root, readable on light and dark pages), `alter.parsePrice`, `alter.parseQuantity`, and `alter.unitPrice`, which refuses to compare different kinds of units rather than guess.
  Data from other sites isn't supported: scripts have no network access by design. Cross-site data sources are a possible later addition.
- **Currency conversion**: "convert all the prices to yen" replaces each price with `alter.convert`, keeping the original on hover.
  Scripts can't download exchange rates, so Alter does (`src/lib/rates.ts`): the European Central Bank's daily reference rates, through [Frankfurter](https://frankfurter.dev) because the ECB's own feed doesn't allow requests from extensions.
  They're downloaded only when a script that converts prices runs (and reused for 12 hours), plus at browser start if a saved change converts prices; the request carries nothing about your pages.
  The preview result tells the model which day's rates the script got.
  The model is told which day's rates it has, and says so, since the store still charges in its own currency.
- **Reader and recipe views** are built in, like the dark engine: "strip this article down to text" or "show me just the recipe" turns on a clean reading view over the page.
  Reader view uses Mozilla's Readability (the engine behind Firefox's Reader View); recipe view reads the schema.org recipe data most recipe sites publish, and falls back to reader view without it.
  The view lives in a closed shadow root so the site can't restyle or script it, shows only allowlisted, sanitized content, and has a "Show original" button.
  Narrower focus that should keep the site usable ("only comments from the original poster") is done with CSS and scripts instead.
- **One-time actions** (`run_action`) are for requests about the page in front of you rather than the site from now on: "download this post as 
axel2moon20
🟧 echo.github ⭐Alter describes a Chrome extension that lets users request website changes in natural language, preview and save them, and approve scripts fAxel Vanden Heuvelβ€”β€”

Interpretation history

Decision trace