Greasy Fork 还支持 简体中文。

Uploads List Adder

Adds uploads list button to the sidebar of each torrent

目前為 2015-05-13 提交的版本,檢視 最新版本

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