Uploads List Adder

Adds uploads list button to the sidebar of each torrent

  1. // ==UserScript==
  2. // @name Uploads List Adder
  3. // @namespace PXgamer
  4. // @description Adds uploads list button to the sidebar of each torrent
  5. // @include http://localhost:999/kat/upload
  6. // @include *kickass.to/*
  7. // @include *kat.cr/*
  8. // @version 1.2
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. var me = $('.usernameProfile.menuItem').html();
  13. console.log(me);
  14. var user = $('div.font11px:nth-child(9) > span:nth-child(1) > span:nth-child(2) > a:nth-child(1)').html();
  15.  
  16. if (user == me) {}
  17. else {
  18. $('#torrentControl > li:nth-child(9)').before('<li><a href="/user/'+user+'/uploads/"><i class="ka ka16 ka-torrent"></i> uploads</a></li>');
  19. }