Greasy Fork is available in English.

TorrentGalaxy Makeover

Collection of optional changes to how TorrentGalaxy is viewed.

/* ==UserStyle==
@name           TorrentGalaxy Makeover
@namespace      NotNeo
@version        2.1.0
@description    Collection of optional changes to how TorrentGalaxy is viewed.
@author         NotNeo
@license        unlicense
@preprocessor   stylus

@var          checkbox     HideHotTwitter "Hide Hot Picks & Twitter Feed" 0
@var          checkbox     HideNews "Hide News Items" 0
@var          checkbox     HideRadio "Hide Radio" 0
@var          checkbox     HideStaffPick "Hide Staff Picks" 0
@var          text         shoutHeight "Shoutbox height" 600px
@var          checkbox     shoutAlwaysImg "Always show images in shoutbox" 0
==/UserStyle== */
@-moz-document url-prefix("https://torrentgalaxy.to/lobby.php"),
url-prefix("https://torrentgalaxy.mx/lobby.php"),
url-prefix("https://tgx.rs/lobby.php"),
url-prefix("https://tgx.sb/lobby.php") {
    /*
    nth-last-of-type(x) is used because there are no proper identifiers.
    This relies on the order of the elements remaining the same.
    It counts from last to first, because the news section may or may not exist at any time at the top
    */
    
    /*Hide "News Items"*/
    if HideNews {
        #moann > div > div > .col-lg-2 ~ div > .panel-primary:nth-last-of-type(4) {
            display: none;
        }
    }

    /*Hide Radio*/
    if HideRadio {
        #moann > div > div > .col-lg-2 ~ div > .panel-primary:nth-last-of-type(3) {
            display: none;
        }
    }

    /*Hide "Staff Picks"*/
    if HideStaffPick {
        #moann > div > div > .col-lg-2 ~ div > .panel-primary:nth-last-of-type(1){
            display: none;
        }
    }

    /*Shoutbox height*/
    .shoutbox {
        max-height: shoutHeight;
    }

    /*Shoutbox always show images*/
    if shoutAlwaysImg {
        .shoutbox .chatcellmsg > span.label.label-default {
            display: none;
        }
        .shoutbox .chatcellmsg > span.label.label-default + div {
            display: block !important;
        }
    }
}
@-moz-document domain("torrentgalaxy.to"),
domain("torrentgalaxy.mx"),
domain("tgx.rs"), domain("tgx.sb") {
    /*Hide "Hot Picks" & "Twitter feed" */
    if HideHotTwitter {
        #moann > div > div > .col-lg-2 {
            display: none;
        }
        #moann > div > div > .col-lg-2 ~ div {
            width: 100%;
        }
    }
}