ConnorBehan / Kill Floating Bars

// ==UserScript==
// @name           Kill Floating Bars
// @namespace      https://openuserjs.org/scripts/ConnorBehan/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';
	}
}