position: sticky
is a new one for me. position: sticky
is a new one for me. window.onload = function()
{
var titlebarfixcoverfunction = function()
{
if (location.hash.indexOf('#') > -1)
{
var titlebar = document.getElementById('title');
window.scrollBy(0, -titlebar.offsetHeight);
}
};
titlebarfixcoverfunction();
window.addEventListener('hashchange', titlebarfixcoverfunction);
}javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20*')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed')%20%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
Click the bookmark and sticky things disappear. Some websites are horrific with how much screen space they take up with sticyky banners. That also of course breaks some sites.
I used `position:sticky` in a productive website back in 2015, when it was already well-supported in Firefox. What's true is that Chrome only got support for it recently, and since Chrome == the internet nowadays, you will be forgiven for considering it new.