Sticky Header Killer Bookmarklet
Free Sticky Header Killer bookmarklet: unsticks fixed headers, hides cookie banners and overlays, and re-enables scrolling. Click again to restore.
On a phone? Use Copy code, then save it as a bookmark's URL — step-by-step guide.
The Sticky Header Killer bookmarklet gives you your screen back. Many sites pin a header to the top, a cookie bar to the bottom, a newsletter box to the corner and a share bar to the side, and on a laptop that can eat a third of the view. One click and the clutter stops following you.
It scans every element for CSS position: fixed or position: sticky. Sticky elements and fixed headers pinned to the top are turned back into normal elements that scroll away with the page. Other fixed elements, like cookie banners, chat bubbles, modals and their dark backdrops, are hidden. If a popup had also disabled page scrolling by setting overflow: hidden on the page, scrolling is switched back on.
The bookmarklet remembers every change it made, so clicking it again restores the original layout exactly. It is great for reading, taking clean full-page screenshots and printing.
What it does
- Finds all elements with computed position fixed or sticky
- Turns sticky elements and top-pinned fixed headers into position: static
- Hides other fixed elements such as cookie banners, chat widgets, modals and overlays
- Restores scrolling when html or body had overflow: hidden
- Shows counts, and restores everything on a second click
How to install the Sticky Header Killer bookmarklet
- Show your bookmarks bar. Press
Ctrl+Shift+Bon Windows/Linux orCmd+Shift+Bon a Mac (Chrome, Edge, Brave, Firefox). In Safari choose View › Show Favorites Bar. - Drag the blue button above onto the bar. That's it — the bookmark now holds the code.
- Open any website and click the bookmark to run it on that page. Click it again to close it.
Can't drag (phone, tablet, locked-down browser)? Copy the code below, create any bookmark, then edit it and paste the code as its URL. See how to add a bookmarklet in every browser.
How to use it
- Open a page with a sticky header, cookie bar or popup.
- Click Sticky Header Killer and check the toast for what was changed.
- Scroll, read or take a screenshot without the pinned elements.
- Click it again to put the original layout back.
When elements come back
Some sites re-create their banners or re-apply sticky classes with JavaScript when you scroll. If that happens, click the bookmarklet again twice (restore, then kill) after the page settles. Hiding a cookie banner does not accept or reject cookies; it just removes it from view. Top-pinned headers become normal page elements at their place in the document, so you can still use their menus by scrolling back to the top. Everything else that was fixed is hidden rather than moved, which keeps the layout tidy. A reload always brings back the original page.
Bookmarklet code
This is the exact code inside the button above (2,338 characters). It runs only in your browser and sends nothing to us. Paste it into the Bookmarklet Decoder to read it formatted.
Frequently asked questions
Does it accept the cookie banner?
No. It only hides the banner; no consent choice is sent to the site.
Can I undo it?
Yes. A second click restores every element's original position and visibility.
Why can I scroll again on pages with a popup?
Popups often lock scrolling with overflow: hidden on the page; the bookmarklet switches it back to normal.
Related bookmarklets
Free Reader Mode bookmarklet: opens a clean reading view of any article without ads or sidebars. Adjust text size, choose…
Free Remove Embed iframe bookmarklet: deletes every iframe, embed and object (ads, videos, widgets) from the page, then…
Hover and click to hide ads, popups, banners or any element on a page, with Undo and Restore all. Ideal for clean…
Free Remove Images bookmarklet: hides every image, picture, SVG image and CSS background for distraction-free reading.…
Free Dark Mode Toggle bookmarklet: switch any website to dark mode in one click and back again, with photos and videos…