您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes likes and dislikes.
// ==UserScript== // @name Forum Focus // @namespace zero.forumfocus.ai // @version 0.2 // @description Removes likes and dislikes. // @author -zero [2669774] // @match https://www.torn.com/forums.php* // @icon https://www.google.com/s2/favicons?sz=64&domain=torn.com // @grant none // ==/UserScript== function remove(){ var url = window.location.href; if (url.includes('p=main') || url == 'https://www.torn.com/forums.php'){ return; } if (url.includes('p=forums')){ if ($('.rating').length > 0){ $('.rating').css('visibility','hidden'); } else{ setTimeout(remove, 300); } } else{ if ($('.forum-button > .value').length > 0){ $('.forum-button > .value').css('visibility','hidden'); } else{ setTimeout(remove, 300); } } } remove(); $(window).on('hashchange', function(e){ remove(); });