您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Add icon for KickAss.to torrent tracker for each TV series
当前为
// ==UserScript== // @name MyShows: add KickAss.to // @namespace none // @description Add icon for KickAss.to torrent tracker for each TV series // @include http://myshows.me/profile/ // @include https://myshows.me/profile/ // @match http://myshows.me/profile/ // @match https://myshows.me/profile/ // @version 0.5.30 // @grant none // ==/UserScript== $(function(){ $('div.plateHint').remove(); $("span[class^='subHeader show'").after(function(){ var tv_urls = { "Doctor Who": "https://kat.cr/doctor-who-2005-tv1763/", "My Little Pony: Friendship is Magic": "https://kat.cr/my-little-pony-friendship-is-magic-tv12949/", "Guardians of the Galaxy": "https://kat.cr/marvel-s-guardians-of-the-galaxy-tv24154/", "Ash vs Evil Dead": "https://kat.cr/ash-vs-evil-dead-tv25084/", "Jekyll & Hyde": "https://kat.cr/jekyll-hyde-tv25058/", "Jekyll and Hyde": "https://kat.cr/jekyll-hyde-tv25058/", "Bishōjo Senshi Sailor Moon Crystal": "https://kat.cr/pretty-guardian-sailor-moon-crystal-a37367/", "The Simpsons": "https://kat.cr/the-simpsons-tv3606/", "Family Guy": "https://kat.cr/family-guy-tv1873/", "Robot Chicken": "https://kat.cr/robot-chicken-tv2863/", "Gotham": "https://kat.cr/gotham-tv19653/", "Gravity Falls": "https://kat.cr/gravity-falls-tv14509/", "Minority Report": "https://kat.cr/minority-report-tv23200/", "Supergirl": "https://kat.cr/supergirl-tv23196/", "Limitless": "https://kat.cr/limitless-tv23197/", "Moonbeam City": "https://kat.cr/moonbeam-city-tv24420/", "Star Wars Rebels": "https://kat.cr/star-wars-rebels-tv19586/", "South Park": "https://kat.cr/south-park-tv3010/", "Elementary": "https://kat.cr/elementary-tv14108/", "Regular Show": "https://kat.cr/regular-show-tv12409/", "The Flash": "https://kat.cr/the-flash-2014-tv19136/", "Marvel's Agents of S.H.I.E.L.D": "https://kat.cr/marvel-s-agents-of-s-h-i-e-l-d-tv16547/", "Arrow": "https://kat.cr/arrow-tv14092/", "Adventure Time with Finn and Jake": "https://kat.cr/adventure-time-with-finn-and-jake-tv10922/", "The Expanse": "https://kat.cr/the-expanse-tv24428/", "The Big Bang Theory": "https://kat.cr/the-big-bang-theory-tv4827/", "Steven Universe": "https://kat.cr/steven-universe-tv17129/", "Galavant": "https://kat.cr/galavant-tv21259/", "Heroes Reborn": "https://kat.cr/heroes-reborn-tv23795/", "Teenage Mutant Ninja Turtles": "https://kat.cr/teenage-mutant-ninja-turtles-2012-tv12990/", "American Dad": "https://kat.cr/american-dad-tv1260/", "Wander Over Yonder": "https://kat.cr/wander-over-yonder-tv16530/", "Marvel's Agent Carter": "https://kat.cr/marvel-s-agent-carter-tv21095/", "DC's Legends of Tomorrow": "https://kat.cr/dc-s-legends-of-tomorrow-tv23175/", "Colony": "https://kat.cr/colony-tv23620/", "Archer": "https://kat.cr/archer-2009-tv10915/", "12 Monkeys": "https://kat.cr/12-monkeys-tv21045/" }; var name = $(this).text(); var tv_series=encodeURIComponent(name.replace(/[^a-z0-9\s]/gi, '')); var url = 'https://kickass.to/usearch/'+ tv_series + '/?field=time_add&sorder=desc'; if (name in tv_urls) url = tv_urls[name]; return '<a target="_blank" title="kickass.to" href="'+ url + '"> <img src="https://kat.cr/content/images/logos/kickasstorrents_48x48.png" height="24" width="24"></a>'; }); });