您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a bookmark torrent button in any browse page.
// ==UserScript== // @name Add bookmark from browse pages // @namespace pxgamer // @version 0.1 // @description Adds a bookmark torrent button in any browse page. // @author pxgamer // @include *kat.cr/browse/* // @include *kat.cr/*/ // @grant none // ==/UserScript== (function() { 'use strict'; $('a.icon16.askFeedbackjs[title="Torrent magnet link"]').each(function() { var hash = $(this).attr('data-id'); $(this).parent().append( '<a class="icon16 ajaxLink" title="Add to bookmarks" href="/bookmarks/add/torrent/'+hash+'/" target="_blank"><i class="ka ka-16 ka-follow"></i></a>' ); }); })();