Skip to content

Simple RARBG 1.0J by hl2guide

Screenshot of Simple RARBG 1.0J

Details

Authorhl2guide

LicenseMIT

Categoryrarbg

Created

Updated

Size7.2 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Features

  1. Vastly simple layout - columns and rows removed that aren't needed
  2. Font size tested on 1920x1080 resolution
  3. Larger torrent link and magnet icon
  4. Makes visited links green
  5. Marks bad links red

History

Version 1.0J:

  • Hides more elements in the footer

Version 1.0H:

  • Improved page height and set base font size to 9pt

Version 1.0G:

  • Added support for www. prefix
  • Switched to regex (regular expression) for "applies to" logic

Version 1.0F

  • Added more official mirrors for RARBG

Version 1.0E

  • Now the code is in two sections
  • Cleaned up and reordered
  • Works well with "Rarbg Show Poster"

Applies to the URLs:

Notes

Optional: Install the "Iosevka" font before usage

Source code

/* ==UserStyle==
@name         Simple RARBG 1.0J
@version      20221002.16.04
@namespace    userstyles.world/user/hl2guide
@description  Simple layout and larger torrent link and magnet icon.
@author       hl2guide
@license      MIT
@description  ## Features

1. Vastly simple layout - columns and rows removed that aren't needed
2. Font size tested on 1920x1080 resolution
3. Larger torrent link and magnet icon
4. Makes visited links green
5. Marks bad links red

## History

Version 1.0J:
* Hides more elements in the footer

Version 1.0H:
* Improved page height and set base font size to 9pt

Version 1.0G:
* Added support for www. prefix
* Switched to regex (regular expression) for "applies to" logic

Version 1.0F
* Added more official mirrors for RARBG

Version 1.0E
* Now the code is in two sections
* Cleaned up and reordered
* Works well with "Rarbg Show Poster"

Applies to the URLs:

* https://rarbg.to/torrents.php?*
* https://www.rarbgmirror.org/torrents.php?*
* https://rarbg.to/torrent/*
* https://www.rarbgmirror.org/torrent/*
==/UserStyle== */

@-moz-document regexp("https\\:\\/\\/(www.|)(rarbgmirror\\.org|rarbg\\.to|rarbgaccess\\.org|rarbgunblock\\.com|rarbgaccess\\.org|rarbg\\.unblockninja\\.com|rarbgget\\.org|proxyrarbg\\.org|rarbgto\\.org)\\/torrents\\.php(.*)") {
/* MAIN PAGE */
/* Hides many page elements */
body > div:nth-child(7),
body > div:nth-child(9),
body > div:nth-child(12),
img[src^="cat_new"],
td.header6:nth-child(1),
table > tr > td:nth-child(1),
table:nth-child(6) > tbody > tr > td:last-child > div.content-rounded > table.lista-rounded > tbody > tr:nth-child(2) > td > table.lista2t:last-child > tbody > tr.lista2 > td.lista:first-child,
table:nth-child(6) > tbody > tr > td:first-child,
body > table:nth-child(4),
.lista-rounded > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > br:nth-child(7),
body > br:nth-child(11),
/*body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div */
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(1) > td,
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div:nth-child(1) {
    display: none !important;
}

/* Sets the base font family and size */
body,
p,
table,
td.lista,
#searchinput,
.black,
.lista-rounded > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1) {
    font-family: "Iosevka Light" !important;
    font-size: 9pt !important;
    word-wrap: break-word !important;
}

/* Sets the font size for three main columns */
tr.lista2 td a,
tr.lista2 > td:nth-child(3),
tr.lista2 > td:nth-child(4) {
    font-size: 9pt !important;
}

/* Sets the font size for categories section */
tr.lista2 span:nth-child(3),
div.divadvscat > a:nth-child(2),
.divadvclearcats {
    font-size: 9pt !important;
}

/* Sets padding for main table */
.lista-rounded,
body > table:nth-child(6) {
    padding-left: 2px !important;
    padding-right: 2px !important;
    padding-bottom: 2px !important;
    width: 100% !important;
}

/* Hides Columns in table - the four right most columns */
td.header6:nth-child(6),
tr.lista2 > td:nth-child(6),
td.header6:nth-child(7),
tr.lista2 > td:nth-child(7),
td.header6:nth-child(8),
tr.lista2 > td:nth-child(8),
td.header6:nth-child(9),
tr.lista2 > td:nth-child(9) {
    display: none !important;
}

/* Hides even more columns (Added, Size) */
/*td.header6:nth-child(4),
    tr.lista2 > td:nth-child(4),
    td.header6:nth-child(5),
    tr.lista2 > td:nth-child(5) {
        display: none !important;
    }*/
/* Sets width for thumbnail column (first) */
tr.lista2 > td:nth-child(2) {
    width: 30px !important;
    padding-left: 0px !important;
}

/* Removes the footer text */
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(4),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(6),
body > div:nth-child(8),
body > div:nth-child(10),
body > div:nth-child(13),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(4),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(6),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(5),
body > table:nth-child(7) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(13),
body > table:nth-child(7) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(6)
{
    display: none !important;
}

/* Removes some padding */
body > table:nth-child(6) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2),
table {
    padding-top: 0px !important;
}

/* Adds padding to the datetime column */
tr.lista2 > td:nth-child(3),
tr.lista2 > td:nth-child(4) {
    padding-left: 10px !important;
}

/* Makes some text not bold */
a,
h1 {
    font-weight: normal !important;
}

/* Sets font size of table links */
tr.lista2 > td > a {
    font-size: 9pt !important;
}

/* Makes visited links green */
td a:visited {
    color: #88bf89 !important;
}

/* Warns for bad links */
a[href*="weaver"] {
    background: #ffff00;
    border: 2px red solid;
    color: red;
}

/* ===== RESULTS PAGE ===== */
}

@-moz-document regexp("https\\:\\/\\/(www.|)(rarbgmirror\\.org|rarbg\\.to|rarbgaccess\\.org|rarbgunblock\\.com|rarbgaccess\\.org|rarbg\\.unblockninja\\.com|rarbgget\\.org|proxyrarbg\\.org|rarbgto\\.org)\\/torrent\\/(.*)") {
/* RESULTS PAGE */
/* Sets Magnet link to be bigger */
a[href^="magnet:"] img {
    /*background:url("https://image.flaticon.com/icons/png/512/547/547863.png");*/
    border: 2px purple solid;
    height: 32px;
    src: none;
    width: 32px;
}

/* Sets font size of torrent download link */
a[href^="/download.php?"] {
    font-size: 22pt !important;
}

/* Sets the base font family and size */
body,
p,
table,
td.lista,
#searchinput,
.black,
.lista-rounded > tbody:nth-child(1) > tr:nth-child(4) > td:nth-child(1) {
    font-family: "Iosevka Light" !important;
    font-size: 9pt !important;
    word-wrap: break-word !important;
}

/* Removes pointless information - VPN, Related */
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(13),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(6),
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(3) {
    display: none !important;
}

/* Hides not needed elements */
body > table:nth-child(6) > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(2) > td > div > table > tbody > tr:nth-child(11),
#scrollspycomments,
body > div:nth-child(8),
body > div:nth-child(10),
body > div:nth-child(13) {
    display: none;
}
}

Reviews

No reviews yet.