← ecelon.dev Türkçe · Recep Ildır · Frontend Developer

PageEraser

PageEraser is a Chrome extension that removes page elements with one click and remembers your choice per site. Cookie bars, floating widgets and ad blocks that cover the part of the page you are reading can be hidden, and the choice is applied again the next time you open the page.

Add to Chrome

Published on the Chrome Web Store. I built the extension and maintain it.

The same picker drives three tools for people who build web pages: Layout X-Ray draws how a page is laid out, Extract to Code copies a component as HTML, CSS and design tokens, and Visual Diff overlays a design on the live page and marks the pixels that differ. Everything runs in your browser: no account, no tracking, and the extension makes no network requests of its own.

How to use it

  1. Add the extension from the Chrome Web Store and open its panel from the toolbar icon.
  2. Press Select Element to Erase (or Alt+Shift+E) to start selection mode.
  3. Move the pointer over the page; the element under it is outlined. ↑ selects the parent, ↓ the child.
  4. Click to erase it. Alt+click stretches the element to full width; Esc cancels the selection.
  5. With Persist checked, erased elements are remembered for that site; unchecked, they come back when the page reloads.
  6. Erased elements are listed per site in the panel. Use Edit to change one or Restore to bring it back; Restore All Layout (Alt+Shift+D) restores everything.

In action

Click the cookie bar and the sidebar: both go, and they stay gone after a reload.
Layout X-Ray: flex, grid and block boxes are drawn in colour, and a depth slider keeps big pages readable.
Visual Diff: overlay a design, drag the divider, and Compare marks the pixels that differ in red.

Screenshots

Selection mode: the element under the pointer is outlined
Selection mode: the element under the pointer is outlined with its selector; click erases it, Alt+click stretches it.
Layout X-Ray drawing a page layout
Layout X-Ray: boxes are coloured by type, with margin, padding and gaps shown.
Extract to Code showing HTML, CSS and tokens for a selected card
Extract to Code: the selected element as clean HTML, only the CSS that differs from defaults, plus its fonts and colours.
Visual Diff with a design overlaid and its toolbar open
Visual Diff: a design with opacity, scale and offset; Compare paints the difference as a heat map.
The Import from Code dialog listing three rules
Share rules as one line of text; whoever imports it sees what it holds before adding.

Links