User Hash

KIckass Torrent User Hash

สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/16543/107036/User%20Hash.js

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==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");
        }
 

});