RARBG Torrents - Search List Color Coding

Highlights torrents containing given keyword. Better readability, faster browsing.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey, Greasemonkey или Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Violentmonkey.

За да инсталирате този скрипт, трябва да имате инсталирано разширение като Tampermonkey или Userscripts.

За да инсталирате скрипта, трябва да инсталирате разширение като Tampermonkey.

За да инсталирате този скрипт, трябва да имате инсталиран скриптов мениджър.

(Вече имам скриптов мениджър, искам да го инсталирам!)

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да инсталирате разширение като Stylus.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

За да инсталирате този стил, трябва да имате инсталиран мениджър на потребителски стилове.

(Вече имам инсталиран мениджър на стиловете, искам да го инсталирам!)

// ==UserScript==
// @name         RARBG Torrents - Search List Color Coding
// @namespace    rarbgp2p
// @version      0.51
// @description  Highlights torrents containing given keyword. Better readability, faster browsing.
// @author       miwoj
// @match        https://rarbg.to/torrents.php*
// @include      https://rarbgprx.org/torrents.php*
// @include      https://proxyrarbg.org/torrents.php*
// @include      https://rarbgunblocked.org/torrents.php*
// @include      https://rarbgaccess.org/torrents.php*
// @include      https://rarbgaccessed.org/torrents.php*
// @include      https://rarbgcore.org/torrents.php*
// @include      https://rarbgdata.org/torrents.php*
// @include      https://rarbgenter.org/torrents.php*
// @include      https://rarbgget.org/torrents.php*
// @include      https://rarbggo.org/torrents.php*
// @include      https://rarbgindex.org/torrents.php*
// @include      https://rarbgmirror.org/torrents.php*
// @include      https://rarbgmirrored.org/torrents.php*
// @include      https://rarbgp2p.org/torrents.php*
// @include      https://rarbgproxied.org/torrents.php*
// @include      https://rarbgproxies.org/torrents.php*
// @include      https://rarbgproxy.org/torrents.php*
// @include      https://rarbgto.org/torrents.php*
// @include      https://rarbgtor.org/torrents.php*
// @include      https://rarbgtorrents.org/torrents.php*
// @include      https://rarbgunblock.org/torrents.php*
// @include      https://rarbgway.org/torrents.php*
// @include      https://rarbgweb.org/torrents.php*
// @include      https://unblockedrarbg.org/torrents.php*
// @include      https://rarbg2018.org/torrents.php*
// @include      https://rarbg2019.org/torrents.php*
// @include      https://rarbg2020.org/torrents.php*
// @include      https://rarbg2021.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
//    }






});