Home header
Release the header stuck to the top
Does the navigation bar stay at the top as you scroll? This shortcut tries to release that strip while leaving other floating controls alone.
On a computer, drag the button below to your bookmarks bar. Then open the page you want and use the bookmark.
Turn the fixed header offOn a phone or without a bookmarks bar? See the other ways to use this shortcut below.
How it works and when to use it
How can I use this shortcut on my phone?
On a phone, you can try saving the code as a bookmark address. Copy the code below first.
iPhone (Safari): bookmark any page, touch and hold the bookmark, choose Edit, and replace its address with the copied code.
Android (Chrome): bookmark a page. Open Bookmarks, tap the three dots beside it, choose Edit, and replace its address with the copied code.
Then open the page you want to change and use the bookmark. If it does not run from the bookmarks menu, type the bookmark's name in the address bar and select its suggestion.
Support varies by browser and version. Some websites also block this kind of shortcut.
Another iPhone option: the Shortcuts app
In Shortcuts, create a shortcut with the Run JavaScript on Webpage action and paste the code below. Show it in the Share Sheet for Safari webpages. If prompted, allow running scripts in Shortcuts settings. Then open the page in Safari, tap Share, and choose your shortcut.
How can I use the console on a computer?
Open the page you want to change. In Chrome, press Ctrl + Shift + J (Windows/Linux) or ⌘ + Option + J (Mac), paste the code below into the console, and press Enter.
The effect applies to the open page. Check what any code does before running it in the console; your browser may show a security warning.
The button releases the header and the wide band stuck to the top. Chat, a corner notice, and anything else that is fixed stay.
How does it identify the top bar?
The most common case is the top bar: it stays pinned while you scroll and covers the title, a button, or the first lines.
The button releases the header element, the band marked as a banner, and any wide bar glued to the top, with position fixed or sticky.
What is fixed in another corner is not included. To release everything at once, use the fixed-elements tool.
When to use this one
Use it when the top menu eats a band of the screen and you want to keep reading with that band in the page flow.
The bar stops floating. It takes the start of the content, instead of covering what comes after.
What stays stuck
A chat button, a corner cookie notice, a small player, and a fixed footer are not the target.
The change ends when you reload. The bookmark stays on the bar.