This is a script I wrote in order to fix the fact that The Pirate Bay now requires Javascript to search and view torrents. With this script, you can run something like NoScript to disable all on-site scripts, and run this userscript to replicate the bare minimum needed to search for, view, and download torrents. Any other site features may or may not work. It is far from perfect, but it works well enough for what I want. Most of the code is taken from TPB's actual code, but with ad and popup code removed and with some modifications to make it work in a userscript.This is mostly aimed at security-conscious people like myself who don't trust TPB enough to run their on-site JS. This, of course, could be greatly refined from here; but I'm not really interested enough to dedicate to a perfect re-creation of the site. I'm also sure this will eventually break from another site-wide change soon enough, so there isn't much point putting in too much work on this particular iteration.