您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
hide torrent comment from torrent list.
- // ==UserScript==
- // @name Hide comment from torrent list
- // @namespace Sality
- // @description hide torrent comment from torrent list.
- // @include *kat.cr/*
- // @version 0.1 Beta
- // @grant none
- // ==/UserScript==
- try{
- var pathname = window.location.pathname;
- //Spam Testing script -----------------------------------------------------------------------------------------------------------------------------------------------
- if ((pathname.indexOf('\/user\/') != 0)&&(pathname.indexOf('\/community\/') != 0)&&(pathname.indexOf('\/messenger\/') != 0)){
- if ($('div.mainpart table.data').length) {
- $('table.data div.iaconbox a.icommentjs').css({"display":"none"});
- }
- }
- }//try end
- catch(ex){
- console.log("Hide comment :Error IN script /Page . Inform Sality");
- }