Kill Floating Bars

Stops elements from following you as you scroll down the page

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name           Kill Floating Bars
// @namespace      https://greasyfork.org/en/scripts/371-kill-floating-bars/
// @description    Stops elements from following you as you scroll down the page
// @include        *
// @version        2
// ==/UserScript==

// Original namespace was http://userscripts.org/scripts/show/123194
var i;
var all = document.getElementsByTagName("*");
for(i = 0; i < all.length; i++) {
	var style = window.getComputedStyle(all[i]);
	var positioning = style.position;
	if ((positioning == 'absolute') || (positioning == 'fixed')) {
		all[i].style.position = 'static';
	}
}