In Facebook, when scrolling down, the top blue bar is still in there. Is there a way to hide it when scrolling down, just like how Stack Exchange works? That way, I won't be distracted by the red notification when reading, but still conveniently be able to reach it when in need.
I'm aware of the F.B. Purity plugin, but even when I have unchecked the Freeze Top Nav Bar option, it's still there. I have asked the author, he says that's because of Facebook's default. He doesn't plan to update this function.
Best Answer
Normally with something like this you can change the navbar from
position: fixed
to another position value, but Facebook does their site differently. Instead of scrolling the whole page and keeping the nav fixed, they scroll all of the content. It's actually kind of puzzling how they do so, it must be using JavaScript somewhere.So you must use a userscript manager like Tampermonkey to do something like the following. It visually hides elements on Facebook (by default all but the timeline) when the page is scrolled. You can change what is being hidden or not on scroll by changing the list
hideElementList
. If you want only the navbar to disappear, remove the second and third entries (including the comma before them).I also uploaded this script to GreasyFork for easy install if you have something like Tampermonkey installed.