Subs Adder [KAT]

Adds subtitle YIFYSubs link to KAT pages

当前为 2015-05-08 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Subs Adder [KAT]
  3. // @namespace SexyWolfie
  4. // @include *kickass.to/*.html*
  5. // @version 1.5
  6. // @grant none
  7. // @description Adds subtitle YIFYSubs link to KAT pages
  8. // ==/UserScript==
  9.  
  10. var imdbID = $('.dataList [href*="www.imdb.com/title/"]').html();
  11.  
  12. $('.dataList .textButton[href^="/bookmarks/"]').after(' <a title="Check YIFY Subtitles" href="http://www.yifysubtitles.com/movie-imdb/tt'+imdbID+'" class="postLink icon16 textButton isearch"><span></span>check for subtitles</a>');