Fixes the top bar of Stack Exchange sites so that it remains at the top with scrolling
< Feedback on Fixed Stack Exchange Top Bar
Not working with current SE sitesfixed it for the SE sites I use, the URLs need to https, and the topbar element is now known as top-bar// @include https://*.stackexchange.com/*// @include https://stackoverflow.com/*// @include https://meta.stackoverflow.com/*// @include https://serverfault.com/*// @include https://meta.serverfault.com/*// @include https://superuser.com/*// @include https://meta.superuser.com/*// @include https://askubuntu.com/*// @include https://meta.askubuntu.com/*// @include https://stackapps.com/*// ==/UserScript==var bar = document.getElementsByClassName("top-bar")[0];
Sign in to post a reply.
Not working with current SE sites
fixed it for the SE sites I use, the URLs need to https, and the topbar element is now known as top-bar
// @include https://*.stackexchange.com/*
// @include https://stackoverflow.com/*
// @include https://meta.stackoverflow.com/*
// @include https://serverfault.com/*
// @include https://meta.serverfault.com/*
// @include https://superuser.com/*
// @include https://meta.superuser.com/*
// @include https://askubuntu.com/*
// @include https://meta.askubuntu.com/*
// @include https://stackapps.com/*
// ==/UserScript==
var bar = document.getElementsByClassName("top-bar")[0];