By following this tutorial you will able to filter out unwanted releases from the browse page on TorrentLeech in Firefox. (Chrome has built in support, for other browsers see this guide on installing Greasemonkey, but I can't guarantee that the script will work with them.)
1. Install the Greasemonkey add-on.
2. Install the Torrentleech Release Filter Greasemonkey script.
3. Start editing the script: right click on the monkey head on your status bar, select Manage User Scripts, select Torrentleech Release Filter from the list then press Edit.
4. The script is buggy by default, you have to change the following line
to this:if (thisLink.text.search(filter[k]) >= 0) {
5. Change the filtered words as you like. I suggest to put a space before and after the filtering word to make sure that nothing gets filtered out accidentally.if (thisLink.text.search(filter[k]) >= 0 && thisLink.parentNode && thisLink.parentNode.parentNode && thisLink.parentNode.parentNode.parentNode) {
(For example if you simply write "CAM" instead of " CAM " to then it will filter out "somethingCAMsomething" but if you use the latter it will filter only "something CAM something".)
6. Save the file and reload the page in Firefox.
7. Optional:
The default script uses case sensitive search (for example XviD and XVID are different). To make case insensitive change the following line from
to this:if (thisLink.text.search(filter[k]) >= 0 && thisLink.parentNode && thisLink.parentNode.parentNode && thisLink.parentNode.parentNode.parentNode ) {
if (thisLink.text.toLowerCase().indexOf(filter[k]) != -1 && thisLink.parentNode && thisLink.parentNode.parentNode && thisLink.parentNode.parentNode.parentNode) {
Here is a full a working example script that filters out R5, R6 and CAM releases. (It's on tinypaste because both the QUOTE and CODE tags make it unreadable here.)
The tutorial is written by me. Sorry for my English. :) Thanks for jumjum from Userscripts for the script.









LinkBack URL
About LinkBacks
Reply With Quote

