Skip to content

Userscript for torrentz.eu, hosted on openuserjs.org and greasyfork.org

License

Notifications You must be signed in to change notification settings

biscodyl/tz-aio-userscript

Repository files navigation

Torrentz All-in-one Userscript

Does everything you wish Torrentz could do!

This userscript enhances Torrentz (on all its domains) to include a bunch of new features. Among them are customizable magnet-links, ajaxed sorting, intelligent stats, and much much more...

This project is mainly maintained on github, so please report any issues or feature requests @ github.com/elundmark/tz-aio-userscript/issues.

How to use

  1. Install Greasemonkey or Scriptish(*) for Firefox, Tampermonkey for Google Chrome / Chromium, or Violent Monkey for Opera.
  2. Install the userscript itself from any of the following repositories:
  3. Disable Require Secure Updates in your userscript engine to enable updates, if not installed through monkeyguts.com. However, doing this is less secure, so be careful.

(*) Make sure you use version 0.1.12 or higher. Download the latest version here.

Tested on Firefox 32+ (GreaseMonkey/Scriptish) Google Chrome 37+ with Tampermonkey, and Opera 12+ with Violent Monkey. It does not work with Chrome's built-in userscript installer.

Features

  • Default trackerlist Customizable - Magically sorted trackers, that apply to all magnet-links.
  • Custom Search Engines Customizable - Appears automatically underneith the search-box, and any selected text in the title of individual torrents. For added security the referrer is removed using data:text/html... links.
  • Custom CSS Editor Customizable - Added by demand, edit away!
  • Force HTTPS Customizable - Off by default, but forces SSL (https://) if enabled.
  • TV Episode Links Helps you search for next/prev episode/season, click the links in the filter-bar or use SHIFT+[arrowkeys] when available by searching for the common patters sNNeNN or 2013 01 01.
  • Ad removal Customizable - Wouldn't be a UserScript without this. Also gets rid of the "click popup ads". As new ads are added, this script will be updated.
  • Direct .torrent links Applies to all avaliable sites listed on each 'single page'.
  • Stats-bar Get all the important info right away, like seed-ratio, a Copy trackerlist button, a Magnet-link, links to the comments and the files, and the total amout of peers.
  • Copy Trackers Button Copies all trackers to your clipboard (if your engine doesn't support GM_setClipboard it shows them instead).
  • Ajaxed sorting Customizable - Applies to all search results, uses history.pushState.
  • Exclude filter Customizable - Remove unwanted torrens by keywords or RegExp.
  • Colorful results Customizable - Uses a pretty solid RegExp pattern to figure out what is what and adds a background color, making it easier to scan every page.
    • Colors can be changed w/ the built in Color Picker.
    • All torrents in all search-results have their own magnet-link that includes your custom trackers.
    • Old/dead-ish torrents are dimmed out to indicate a "dead-ish" torrent.
    • If you use the exclude-filter, the number of excluded torrents are noted at the bottom of the list.
  • Comment links Customizable - Changes all valid un-anchored links inside comments to links.
  • Exporter + Importer - Saves your settings and so you can restore them more easily.
  • Smart keyboard shortcuts
    • C - Copy all the trackers
    • D - Trigger the Magnet-link
    • SHIFT + D - Download a randomly selected torrent-file of those listed
    • ← → - Navigate search results pages (Left arrow Right arrow)
    • SHIFT + → - Next episode/season
    • SHIFT + ← - Previous episode/season
    • ESC - General exit/close

All these settings are accessed by clicking 'TzAio' at the top of each page, and can be flushed and reset if you want to start over, or take advantage of (any) new default trackers that might have been added.

Remember to hit Save when you change your settings!

More features worth mentioning

  • .wmv file warning.
  • Adds an rss feed link for empty search results.
  • Passes AdBlocker default blacklist.
  • Works with Autopager (thx roshambo for the fix).
  • As of v2.4.0 no longer needs unsafeWindow.
  • All the data you save is stored permanently and applies across all domains, without the use of cookies or localStorage.

Applies to these sites

Note that not all of these work, some redirect to torrentz.eu and some to torrentz-proxy.com, but it doesn't hur to have them all apply anyways.

Known Issues

  • Some have had it stop working this summer, due to (I think) the fact that GreaseMonkey has changed it's ways. Follow the instructions here (Issue#5) and you should be able to spring it back to life. Please leave a comment if you had any luck - and keep an eye on that page if you didn't have any luck, a better and final solution should be up pretty soon.

Using a proxy?

If you can't use torrentz-proxy.com, you can try installing this special version, which runs on every page, thus making it work again. But It's not 100% guarateed, it depends on the proxy provider, and seeing there's like 100.000.000 of them I'm not gonna even try.

Help me, to help us

See something wrong in the code, or maybe you wanna collaborate in keeping this script even more up to date? If so, I'm super stoked! Throw me an email, or contribute to the repo right away!

Email and info: https://github.com/elundmark

Included plugins

The following resources are fetched externally by this userscript.

  • @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.x.x/jquery.min.js
  • @require https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.x.x/underscore-min.js
  • @require https://cdn.jsdelivr.net/jquery.spectrum/1.x.x/spectrum.js
  • @resource https://cdn.jsdelivr.net/jquery.spectrum/1.x.x/spectrum.css
  • @resource http://elundmark.se/_files/js/tz-aio/tz-aio-style-x.css

Licences for included software

TODO's

Nothing planned.

Legality

This UserScript is Dual licensed under The MIT License (MIT) - http://opensource.org/licenses/MIT and CC0 1.0 Univeral License - https://creativecommons.org/publicdomain/zero/1.0/

The author of this script takes no responsibility for any potetial harm done to any hamsters, servers, browsers or wallets. While browsing affected sites with this script is fully legal, downloading illegal copyrighted material still isn't.

About

Userscript for torrentz.eu, hosted on openuserjs.org and greasyfork.org

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages