Greasy Fork is available in English.
KIckass Torrent User Hash
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/16543/107036/User%20Hash.js
// ==UserScript==
// @name User Hash
// @namespace Sality
// @description KIckass Torrent User Hash
// @include *kat.cr/*
// @version 0.3
// @grant none
// ==/UserScript==
$(window).load(function(){
var pathname = window.location.pathname;
try{
if (pathname.indexOf('\/user\/') != -1) {
var hash_link=$('div.botmarg10px a[href^="/bookmarks/add/user/"]').attr('href');
var hash=hash_link.substring(21,52);
$('.mainpart h1.nickname').after('<span style="color:#229977;margin-left:50px;font-weight:bold;float:right;">User Hash:'+hash+'</span>');
console.log("done");
}
}
catch(ex){
Console.log("Error IN User Hash App");
}
});