您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Highlights torrent list by containing some text for better quicker readability. I use it for video sizes (480p. 720p, 1080p etc). Add any text you want highlighted.
当前为
// ==UserScript== // @name RARBG Torrents - Color Coded Torrent List // @namespace rarbgp2p // @version 0.2 // @description Highlights torrent list by containing some text for better quicker readability. I use it for video sizes (480p. 720p, 1080p etc). Add any text you want highlighted. // @author miwoj // @match https://rarbgp2p.org/torrents.php* // @grant none // ==/UserScript== "use strict"; $(".lista a[title]").each(function() { if (/(1080)/i.test($(this).text())) { $(this).closest("tr").css({ background: "#ded2fa" }); //violet } else if (/(2160)/i.test($(this).text())) { $(this).closest("tr").css({ background: "#e8d0d7" }); //red } else if (/(2160)/i.test($(this).text())) { $(this).closest("tr").css({ background: "#e8d0d7" }); //red } else if (/(720)/i.test($(this).text())) { $(this).closest("tr").css({ background: "#eceed6" }); //yellow } else if (/(480|.SD.)/i.test($(this).text())) { $(this).closest("tr").css({ background: "#c0edc8" }); //green } //ADD MORE WORDS HERE //template for adding more keywords: // else if (/(KEYWORD)/i.test($(this).text())) { // $(this).closest("tr").css({ background: "COLOR" }); //green // } });