The Pirate Bay Cleaner

Updated for 2022. Settings are in the navigation menus. Now Includes support for thepiratebay.org with support for 1337x.to and rarbg.to hopefully soon.

< Feedback on The Pirate Bay Cleaner

Review: Bad - script does not work

§
Posted: 2017-09-21

The Pirate Bay Cleaner No Longer Works

As of a few days ago, TPBC no longer works for me. I did nothing to the settings and no changes were made to my computer. It just suddenly stopped working for me. Does anyone have an idea what happened and how to get it running again?

§
Posted: 2017-09-23

same here !!! it was an excellent script... i really hope it's will get updated :/ !!!

§
Posted: 2017-09-25

the config option comes up at the home page, but once going into the TOP section, say top 100 movies, it doesn't load any more.

§
Posted: 2017-09-25

Damn, I was hoping it was something simple to fix. TPB is beyond annoying without it! You can't click ANYWHERE without some bullshit popping open!

§
Posted: 2017-09-25

Man, I really miss this script. On TPB homepage, it looks like the script is running, but on any search page, it's not. I'd donate enough to buy beer to get this running again! :smiley:

§
Posted: 2017-09-30

Good evening gentleman.

I don't mean to steal anything from the creator of TPBC, but I just wanted to post an alternate that someone had the main feature of TPBC: hiding torrents that are NOT skulls.

You can grab the script from here:

https://greasyfork.org/en/scripts/21980-hide-fake-torrents-on-the-pirate-bay

Some lines that you'll want to change to make this feature work are as follows:

dontHideJustWarn = false trustedTorrentsOnly = true

Switch those to the above options and you should be back in business. Happy torrenting!

§
Posted: 2017-10-01

So, I found out why it doesn't work. Go edit the source and find line 20 where it says

if( GoogleSiteID == 'bERYeomIC5eBWlPLupPPYPYGA9GvAUKzFHh3WIw24Xs'){

Change that into this

if( true ){

And it should work again. It may or may not break other "Proxy sites", whatever the developer means by that.

§
Posted: 2017-10-03

fix to key of domain instead of site id. this will keep it only on the site itself

CODE CHANGES BELOW:
---------------------------
//var GoogleSiteID = $('meta[name=google-site-verification]').attr("content");
var sitedomain = document.domain;
//if( GoogleSiteID == 'bERYeomIC5eBWlPLupPPYPYGA9GvAUKzFHh3WIw24Xs' )
if( sitedomain.substr(4,sitedomain.substr(4,sitedomain.length).indexOf(".")) == 'thepiratebay' ){

---------------------------

§
Posted: 2017-10-06

NONE of any of the "fixes" posted work for me. This is really pissing me off.

§
Posted: 2017-10-13

I got it to work. The code change tips above, were slightly incorrect but it helped me point me in the right direction.

The changes below are correct (thanks again for the tip!):

As mentioned above, comment out lines 19 and 20:
//var GoogleSiteID = $('meta[name=google-site-verification]').attr("content");
//if( GoogleSiteID == 'bERYeomIC5eBWlPLupPPYPYGA9GvAUKzFHh3WIw24Xs' )

Replace this incorrect code on line 20:
if (sitedomain.substr(4,sitedomain.substr(4,sitedomain.length).indexOf(".")) == 'thepiratebay') {

With this code instead:
if (sitedomain.substr(0,sitedomain.substr(0,sitedomain.length).indexOf(".")) == 'thepiratebay') {

Only then does the "if" statement will be true.

Go to line 46 or near to it where you see:
if(sitedomain != 'thepiratebay.se')

Replace thepiratebay.se with thepiratebay.org instead.

That should be it.

§
Posted: 2017-10-13

You can also comment out or remove lines 19, 20 and the closing curly brace at last line 1575.
Still need to change thepiratebay.se on line 46 to thepiratebay.org

§
Posted: 2017-10-26

I got it working for the most part. The trouble with it now is that the cleaner tries to work on EVERY web site I visit, not just TPB.

§
Posted: 2017-11-02

On line 16, change // @match *://*/* to // @match *://thepiratebay/*

§
Posted: 2017-11-03

Nope. It started letting porn torrents through and the colors didn't change so I had to put // @match *://*/* back in.

§
Posted: 2017-11-15

Nobody left to try and fix it?

§
Posted: 2017-11-21

Oh well.

§
Posted: 2017-12-03

So I guess TPBC is dead in the water?

§
Posted: 2018-01-07

I've got it working for the most part. It's just annoying having to turn it off and on manually.

§
Posted: 2018-01-19

my original fix worked - you need the 4 char offset extracting the correct part of the domain. here is the top section of my code .. this works for me
Make sure adblocker is turned off.
Find Tampermonkey in extensions and check the box 'Allow access to file URL'
I also did the other change you suggested:
Go to line 46 or near to it where you see:
if(sitedomain != 'thepiratebay.se')

------the top portion of my code
//nothing changed above this

var sitedomain = document.domain;
if(sitedomain.substr(4,sitedomain.substr(4,sitedomain.length).indexOf(".")) == 'thepiratebay' ){

//nothing changed below this

/* Set all the variables that I will need and defaults if not used etc. */
sitedomain=document.domain;
url=location.href;
sitedomain=document.domain;
torrentify=GM_getValue("torrentify",true);

Post reply

Sign in to post a reply.