Skip to content(if available)orjump to list(if available)

A bookmarklet to kill sticky headers (2013)

ashtonmeuser

Bookmarklet aficionado and maintainer of bookmarkl.ink here. Took the liberty of posting this bookmarklet: https://bookmarkl.ink/ashtonmeuser/849a972686e1505093c6d4fc5...

layer8

> There's even a sticky header web startup.

That’s hilarious (and sad). It seems to be still in business, since 2012.

nejsjsjsbsb

Surprisingly that site has no sticky header. It did trigger a Google login attempt and ask for notification permissions plus had a couple of sticky buttons at the bottom.

layer8

It does have one. It takes a few seconds to appear though.

crazygringo

I've been using the Kill-Sticky Chrome extension for years:

https://chromewebstore.google.com/detail/kill-sticky/lekjlgf...

Because it has a configurable keyboard shortcut.

Can't imagine browsing the web without it. At this point hitting Cmd+K when I visit an article is pure reflex.

A bookmarklet would be more secure, but I don't know of a way to assign keyboard shortcuts to one.

lemonberry

The only sticky headers I like are the ones that disappear while scrolling to the bottom of the page but reappear when scrolling back up. Preferably while scrolling up the user is only seeing the navigation and logo. Otherwise, they're super annoying.

SeanAnderson

This article is about removing all fixed elements on a page. Not only do other elements catch strays, fixed isn't the industry standard way of making sticky headers in 2025!

codingrightnow

He can't hate them that much he put one on his website.

al_borland

I saw this as a feature. I was able to click the button and make it go away, to see it work.

urbandw311er

I think that’s kind of the point. He puts a button just down from the top that kills it.

null

[deleted]

nejsjsjsbsb

That's called irony.

Forge36

It makes for a good test

zapkyeskrill

2025 and it still works, even on mobile

fn-mote

(2013) but I will give it a try.

cuttysnark

Since then we've gotten: position: sticky — which is like fixed but only "fixes" itself once its Y offset is satisfied. Updating the bookmarklet to also check for that, in addition to position: fixed would help modernize it a bit.

null

[deleted]