Edit any website: past changing the text
Maksim Norkin (opens in a new tab)Product
· Updated · 6 min read
How to edit any website in Chrome: change its text with DevTools or designMode, keep a restyle across reloads, and what to do when a page is missing an export.
You can change any word on any website with nothing installed, and the next reload puts the original back. Most people who want to edit any website want something small: change a headline before a screenshot, see whether a longer button label fits, or try a fix to a typo before asking for it. Chrome can do that two ways, and this guide covers both, then the changes that last, and the edits that changing the text can’t make, like an export the page doesn’t have or a button on each row.
Chrome’s DevTools can change any text on a page you have open. The steps are in Chrome’s guide to viewing and changing the DOM:
- Right-click the text and choose Inspect. The Elements panel opens, with that part of the page selected.
- Double-click the text in the panel. Type the new words and press Enter.
- For more than the words, use Edit as HTML. Right-click the element in the panel, choose Edit as HTML, change it, then press Control+Enter, or Command+Enter on a Mac.
Elements
- 1Right-click, InspectElements opens on it
- 2Double-click the textOr right-click, Edit as HTML
- 3Type, then EnterCtrl or Cmd + Enter for HTML
The page shows your words at once. Nothing reaches the site: you changed the copy of the page your browser is showing, so nobody else sees it, and a reload fetches the site’s own page again.
One element at a time is slow when you want to rewrite a whole page. The document’s designMode setting makes all of it editable. MDN’s reference lists its two values, "on" and "off", and off is the default.
- Open the Console. Chrome’s guide to opening DevTools gives the keys: Command+Option+J on a Mac, Control+Shift+J on Windows or Linux.
- Type the line below and press Enter.
- Click any text on the page and type. To lock the page again, run the second line.
document.designMode = "on"
// and to stop editing:
document.designMode = "off"If you paste the line rather than type it, Chrome may block the paste and show a warning. Its post on self-XSS says you type allow pasting to let it through. The warning is there for a reason: whatever runs in the Console runs with your session on that site, so never paste anything there you don’t understand, whoever asks you to.
You type
You edit the page
After a reload
To switch editing on and off from the bookmarks bar, save a bookmark whose address is the line below. Keep the void. MDN’s reference page for the scheme this bookmark starts with, among its URL schemes, says that when the last thing they run gives a string, the browser replaces the page with that string, and setting designMode gives "on". Click the bookmark once to edit, and again to stop.
javascript:void(document.designMode = document.designMode === "on" ? "off" : "on")DevTools has its own way to keep a change. Chrome’s guide to local overrides says they keep the changes you make in DevTools across page loads: DevTools saves its own copy of a file in a folder you pick, and serves that copy in place of the site’s. In the Network panel, right-click a request and choose Override content; the first time, DevTools asks for a folder, and you click Allow.
The same guide lists the limits. Edits in the Elements panel’s DOM tree aren’t saved, so make the change in the Sources panel, or in the Styles pane, which isn’t saved either when the styles sit inside the HTML file. The cache is off while overrides are on. It’s a developer’s tool: good for trying a change to your own site, heavy for a page you just want to look different every day.
For that, a style extension is lighter. Stylus, for example, describes itself on its project page as a browser extension to restyle websites with CSS themes. It works in Chrome, Firefox and other Chromium-based browsers, has a built-in editor for styles of your own, and is licensed under the GPLv3. A style is back every time the page loads. It changes how the page looks: it can hide a banner or widen a column, but it can’t add a button that does anything.
For a change to how a page behaves, people use a page-tweak manager, an extension that runs small programs you install or write on the pages you name. Our Tampermonkey alternatives guide compares them. Install only what you trust, and expect to fix a tweak when the site changes its layout.
| Way | What it changes | After a reload | What it needs |
|---|---|---|---|
| Double-click, or Edit as HTML | One element | Gone | Nothing installed |
| designMode | Any text on the page | Gone | Nothing installed |
| Local overrides | Your copy of the site’s files | Kept, while overrides are on | A folder you pick |
| A style extension | How the page looks | Back on every load | An extension |
| A page-tweak manager | How it looks and behaves | Back on every load | An extension |
- Build 418FailedPost error
- Build 421FailedPost error
- Build 425FailedPost error
Sometimes the edit you have in mind isn’t to the words. A list of failing builds has no export, so you copy it row by row. Each issue needs the same clicks to post its error. Changing the page can’t add those: you can draw a button on it, but the site decides what its buttons do, and yours has nothing behind it. What you can do by hand:
- Look for the site’s own export first. If you see an Export or Download button by the list, or a Reports section, start there. Our guide to exporting data from a website to CSV or XLSX covers where to look, and how to copy a list cleanly when there’s none.
- Cut down the clicks you repeat. The site’s own bulk edits, your browser’s autofill and a few habits go a long way; our guide to repetitive tasks in your browser covers them.
- Ask whether the site has an API. If it doesn’t, our guide to working with a website with no API goes further.
Tabless is a browser extension that builds what you ask for from the sites you allow; nothing is typed or submitted without your OK. It isn't open yet.
It doesn't edit the page. We're building it for the step past that: you ask in plain words for what a site is missing, such as an export or a button on each row, and it's designed to read the sites you allow through the session your browser already has, asking before it reads each site, and build a view of what you need, inside Tabless, that you can download as CSV or XLSX. A row's button would open, fill in and submit that row's page when you click it, or in a batch whose rows and text you reviewed and confirmed, one row at a time, with daily limits for each site. What it reads to build a view goes to Tabless's server and an AI provider. It's for sites and records you're entitled to use, and each site's own rules still apply.
No. It changes only your copy of the page, and a reload brings the site’s own page back; Chrome’s guide to local overrides notes that DevTools doesn’t save changes made in the Elements panel’s DOM tree. Local overrides keep a change to a file across page loads, while they’re on.
No. Nothing you change in DevTools, in the Console or with a style extension reaches the site. That is also why a screenshot of an edited page proves nothing about what the site says.
Change it where it’s built: in your site builder, your content management system, or the files your host serves. DevTools and local overrides are a good place to try a change first, and then you make it there.
Not yet. Tabless isn't open, and adding what a site is missing, such as an export or a button on each row, is among the jobs we're building it for. Join the waitlist, and we'll let you know when you can try Tabless.