您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Change booster and medical icon link to items
// ==UserScript== // @name Change icon links // @namespace namespace // @version 0.4 // @description Change booster and medical icon link to items // @author Kivou // @match *.torn.com/* // @require http://code.jquery.com/jquery-latest.js // ==/UserScript== // uncomment the line you want to link the booster cooldown icon with and comment the other var booster_item = "#alcohol-items" // for alcohol // var booster_item = "#candy-items" // for candy // var booster_item = "##boosters-items" // for boosters var side_bar = $( "#sidebar" ).first( ".sidebar-block*" ); side_bar.find( '[href*="item.php?temp=2"]' ).attr( "href", "https://www.torn.com/item.php" + booster_item ); side_bar.find( '[href*="item.php?temp=3"]' ).attr( "href", "https://www.torn.com/item.php#medical-items" );