hdbits Hide Stickied Torrents

By deva Last update Oct 6, 2007 — Installed 110 times.

Why so complicated?

in
Subscribe to Why so complicated? 1 post, 1 voice

Philipp Krüger Scriptwright

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";
	}
}

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel