Skip to content

bassmadrigal/tz-aio-userscript

 
 

Repository files navigation

Abandoned, but forkable :/

(I forked it because the previously hosted css file is no longer available. I don't have any other experience with javascript, so I won't be adding any additional features. All credit to the script should go towards elundmark, although, I did put my name on the script to ensure he doesn't get bug reports for people using my version. --bassmadrigal)

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 (should work but I don't check if it does very often).
  2. Install the userscript itself from any of the following repositories:
  3. If you want automatic updates, disable Require Secure Updates in your userscript engine.

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

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

Features

  • Default trackerlist Customizable - Magically sorted trackers, that apply to all magnet-links.
    • Enable these by using the Use default trackers toggle.
  • Direct .torrent links Applies to all avaliable sites listed on each 'single page'.
  • Magnet links for Everything Self-explanatory.
  • 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.
    • You can also turn this off using the Search tabs toggle.
  • Custom CSS Editor Customizable - Added by demand, edit away!
    • You can also turn this off using the Custom CSS toggle.
  • Ad removal On/Off - 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.
  • 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.
  • Group results by category On/Off - Off by default, this feature will sort all results by category, might not suit everyone, but it helps it you're looking through lots of pages.
  • Highlight markers Customizable Shows a new menu above the main search results that allows you to highlight common words in all the results, and makes it easier to find exactly what you're looking for. You can add markers for anything, even using Regular Expressions, and also specify the color of them individually.
    • You can also turn this feature off completely using the Highlight markers toggle.
  • 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 On/Off - Applies to all search results, uses history.pushState.
    • You can also turn this off using the Ajaxed sorting toggle.
  • Exclude filter Customizable - Remove unwanted torrens by keywords or RegExp.
    • You can also turn this off using the Exclude filter toggle.
  • 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.
      • You can also turn this off using the Colorize search results toggle.
  • Comment links Customizable - Changes all valid un-anchored links inside comments to links.
    • You can also turn this off using the Linkify comments toggle.
  • 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, but it doesn't hurt to have them all apply.

Known Issues

  • Upgrading from <= v2.7.12 to >= v2.8.x will turn off some of your settings, so you need to re-enable them in the settings after upgrading.
  • Some have had it stop working (summer 2014), 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 also 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/bassmadrigal

Included plugins

The following files are fetched externally by this userscript using @require|resource:

  • @require https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js
  • @require https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js
  • @require https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1/spectrum.js
  • @resource css1 https://cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1/spectrum.css
  • @resource css2 http://f.3r1k.se/js/tz-aio/tz-aio-style-2.css?v=2-9-8-0
  • @resource css2 https://github.com/bassmadrigal/tz-aio-userscript/raw/master/tz-aio-style-2.css

Licences for included software

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

Torrentz All-in-one Userscript

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.7%
  • CSS 11.3%
  • Other 1.0%