I like being able to have some control over webpages. I hate it when pages have some awful animation running just next to something I want to read. Or when then have a giant fixed banner. I use this Firefox extension: Remove/Crop-to Selection It lets me remove things on a page. Just reload the page to get them back.
These next snippets can added as bookmarks to your browser and can give you more control over web pages. They have been made and tested on Firefox.
You create a bookmark with each of these snippets and activate them while on a page.
javascript:(
function(){
(
function () {
var i, elements =
document.querySelectorAll('body *');
for (i = 0; i <
elements.length; i++) {
var s =
getComputedStyle(elements[i]);
if
(s.position === 'sticky') || s.position === 'fixed')
{
elements[i].parentNode.removeChild(elements[i]);}
}
}
)()
}
)()
javascript:(function(){(function(){var i, elements =
document.querySelectorAll('body *'); for(i = 0; i <
elements.length; i++){var s = getComputedStyle(elements[i]);
if(s.position === 'sticky' || s.position ===
'fixed'){elements[i].parentNode.removeChild(elements[i]);}}})()})()
javascript:(function()%7B(function()%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20*')%3B%20for(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%7Bvar%20s%20%3D%20getComputedStyle(elements%5Bi%5D)%3B%20if(s.position%20%3D%3D%3D%20'sticky'%20%7C%7C%20s.position%20%3D%3D%3D%20'fixed')%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
javascript:(
function(){
(
function () {
var i, elements =
document.querySelectorAll('body *');
consol.log("n
hidden=",elements.length);
for (i = 0; i < elements.length;
i++) {
if
(getComputedStyle(elements[i]).display === 'none')
{elements[i].style.display =
'inline');}
}
})()
}
)()
Again compressed code for bookmark location is here:javascript:(function(){(function () {var i, elements =
document.querySelectorAll('body *');for (i = 0; i <
elements.length; i++) {if (getComputedStyle(elements[i]).display
=== 'none'){elements[i].style.setProperty ('display',
'inline');}}})()})()
javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body
*')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).display%20%3D%3D%3D%20'none')%20%7Belements%5Bi%5D.style.display%20%3D%20'inline'%3B%7D%7D%7D)()%7D)()