Why so complicated?
|
|
The script is way too bloated! Just use this:
// ==UserScript==
// @name hdbHideStickiedTorrents
// @description allows to hide those random old torrents sticking on top of the list
// @include https://hdbits.org/browse.php
// @include http://hdbits.org/browse.php
// @include https://hdbits.org/browse.php?update_last_browse=1
// @include http://hdbits.org/browse.php?update_last_browse=1
// ==/UserScript==
var all=document.getElementsByTagName("*");
for (var i=0;i < all.length;i++){
if (all[i].className=="featured"){
all[i].style.display="none";
}
}
|