您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Recolour the red-yellow-green scamming pips for colourblind accessibility
// ==UserScript== // @name Recolour Scamming Pips (Colorblind Friendly) // @namespace http://tampermonkey.net/ // @version 0.3 // @description Recolour the red-yellow-green scamming pips for colourblind accessibility // @author TheProfessor [1425134] // @match https://www.torn.com/loader.php?sid=crimes // @icon https://www.google.com/s2/favicons?sz=64&domain=torn.com // @grant GM_addStyle // @run-at document-end // ==/UserScript== (function() { 'use strict'; GM_addStyle(` div[class^='zone_'][class*=' high_'] { background-color: rgba(0, 255, 0, 0.8) !important; } div[class^='zone_'][class*=' medium_'] { background-color: rgba(0, 255, 0, 0.5) !important; } div[class^='zone_'][class*='low_'] { background-color: rgba(0, 255, 0, 0.25) !important; } div[class^='zone_'][class*='fail_'] { background-color: rgba(216, 27, 96) !important; } div[class^='zone_'][class*='hesitation_'] { background-color: rgba(230, 225, 188, 0.75) !important; } `); })();