I'm a tinkerer, tuner & tamperer who's been around the block.

Send some love:
Buy me a Coffee

Or you can:
Check out my latest.


Every now and then you find some interesting browser quirks that catch your eye, they’re always worth exploring!

In this instance, I found that if you are tracking the scroll position with an event listener, when you try to scroll down, beyond the end of the page, or up, beyond the top of the page, you still get values coming back. Which means the browser is telling you, the scroll position is in those “overscroll” areas.

Once I found this out, it was a matter of wiring up some functionality to them. I went with a small easter egg.

Overscroll in action

And on the top.

Overscroll in action

EDIT: Looks like of chrome 51, this doesn’t work… leaving us only with safari.

EDIT 2: Chrome 58 has brought this back, woo!

EDIT 3: Chrome 60+ this was taken away again. RIP.

Overscroll site/demo
Overscroll source on GitHub