Skip to content

ToyHouse Forum Hider by big-b33-pr0xy-200x-goodwill

Screenshot of ToyHouse Forum Hider

Details

Authorbig-b33-pr0xy-200x-goodwill

LicenseCC-BY-4.0

Categorytoyhou.se

Created

Updated

Size9.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

ToyHouse Forum Hider. This also hides forum categories. This'll hide what ever you select in the config. It even hides the forum navbar link!

Notes

12/10/2023 UPDATE:

Userstyle is now more accessible, instead of going through several dropdown menus for everything. Now you only need to use dropdown menus to hide categories! Everything else uses checkboxes! Finally figured that out. Happy to push this update. 😀

06/30/2023 UPDATE:

Now you can hide the navbar link to the forums! It's the first dropdown in the options.

01/06/2023 UPDATE:

Fixed the namespace on this. I've also added the fave-exchange to the forums for those who hate fav4fav threads!

09/18/2022 UPDATE:

Finally added a preview image for this. I'm currently working on making most of the dropdowns buttons instead to make it more accessible. But that'll take a bit since I'm trying to figure that out. That's my goal for the next update.

08/18/2022 UPDATE:

Made it so it would also hide their respective sections on the sidebar.

Source code

/* ==UserStyle==
@name           ToyHouse Forum Hider - REDUX
@description    Anyone else dislike a certain forum. This'll hide what ever you select.
@version        2.0
@author         Proxybat
@namespace      https://github.com/Proxybat/UserCSS/tree/main/Toyhouse/TH-Forum-Hider
@license        CC-BY-4.0
@homepageURL    https://github.com/Proxybat/UserCSS/tree/main/Toyhouse/TH-Forum-Hider
@supportURL     https://github.com/Proxybat/UserCSS/issues
@preprocessor   stylus

@var checkbox forumNav "No forum link in navbar." 0

@var select characterCat "Hides the character & rp category." ["0:Show*","1: Hide"]

@var checkbox characterSec "Hide character discussion." 0
@var checkbox speciesSec "Hide species discussion." 0
@var checkbox worldsSec "Hide worlds." 0

@var select commerceCat "Hides the commerce category." ["0:Show*","1: Hide"]

@var checkbox artmarketSec "Hide art marketplace." 0
@var checkbox designmarketSec "Hide design marketplace." 0
@var checkbox adoptSec "Hide adoption center." 0
@var checkbox serviceSec "Hide service reviews." 0

@var select creativeCat "Hides the creative category." ["0:Show*","1: Hide"]

@var checkbox creatorSec "Hide creators corner." 0
@var checkbox htmlSec "Hide HTML/CSS." 0
@var checkbox artfreeSec "Hide art freebies." 0
@var checkbox arttradeSec "Hide art trades." 0

@var select gamesCat "Hides the forum games category." ["0:Show*","1: Hide"]

@var checkbox artgameSec "Hide art games." 0
@var checkbox charactergameSec "Hide character games." 0
@var checkbox forumgameSec "Hide forum games." 0
@var checkbox favSec "Hide fav exchange." 0

@var select siteCat "Hides the general & site category." ["0:Show*","1: Hide"]

@var checkbox announceSec "Hide announcments." 0
@var checkbox genSec "Hide general & off-topic." 0
@var checkbox helpSec "Hide help & questions." 0
@var checkbox bugsSec "Hide suggestions & bugs." 0
==/UserStyle== */
@-moz-document url-prefix("https://toyhou.se/") {
    /* hides forum link in the navbar */
    if forumNav {
        .navbar-left.mr-auto.navbar-nav > li.nav-item:nth-of-type(2) > .nav-link {
            display: none;
        }
    }
}

@-moz-document url-prefix("https://toyhou.se/~forums") {
    /*sections*/
    /*character discussion*/
    if characterSec {
        div.forum-category-wrapper:nth-of-type(1) > div.forum-category-forum:nth-of-type(1),
        li.hide-on-collapse > [href="/~forums/207.character-discussion"] {
            display: none;
        }
    }
    /*species discussion*/
    if speciesSec {
        div.forum-category-wrapper:nth-of-type(1) > div.forum-category-forum:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/5868.species-discussion"] {
            display: none;
        }
    }

    /*worlds*/
    if worldsSec {
        div.forum-category-wrapper:nth-of-type(1) > div.forum-category-forum:nth-of-type(3),
        li.hide-on-collapse > [href="/~forums/12.worlds"] {
            display: none;
        }
    }

    /*art marketplace*/
    if artmarketSec {
        div.forum-category-wrapper:nth-of-type(2) > div.forum-category-forum:nth-of-type(1),
        li.hide-on-collapse > [href="/~forums/71.art-marketplace"] {
            display: none;
        }
    }

    /*design marketplace*/
    if designmarketSec {
        div.forum-category-wrapper:nth-of-type(2) > div.forum-category-forum:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/5866.design-marketplace"] {
            display: none;
        }
    }

    /*adoption center*/
    if adoptSec {
        div.forum-category-wrapper:nth-of-type(2) > div.forum-category-forum:nth-of-type(3),
        li.hide-on-collapse > [href="/~forums/13.adoption-center"] {
            display: none;
        }
    }

    /*service reviews*/
    if serviceSec {
        div.forum-category-wrapper:nth-of-type(2) > div.forum-category-forum:nth-of-type(4),
        li.hide-on-collapse > [href="/~forums/5867.service-reviews"] {
            display: none;
        }
    }

    /*creator's corner*/
    if creatorSec {
        div.forum-category-wrapper:nth-of-type(3) > div.forum-category-forum:nth-of-type(1),
        li.hide-on-collapse > [href="/~forums/10502.creator-s-corner"] {
            display: none;
        }
    }

    /*HTML/CSS*/
    if htmlSrc {
        div.forum-category-wrapper:nth-of-type(3) > div.forum-category-forum:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/16.htmlcss-graphics"] {
            display: none;
        }
    }

    /*art freebies*/
    if artfreeSec {
        div.forum-category-wrapper:nth-of-type(3) > div.forum-category-forum:nth-of-type(3),
        li.hide-on-collapse > [href="/~forums/7515.art-freebies"] {
            display: none;
        }
    }

    /*art trades*/
    if arttradeSec {
        div.forum-category-wrapper:nth-of-type(3) > div.forum-category-forum:nth-of-type(4),
        li.hide-on-collapse > [href="/~forums/13975.art-trades"] {
            display: none;
        }
    }

    /*art games*/
    if artgameSec {
        div.forum-category-wrapper:nth-of-type(4) > div.forum-category-forum:nth-of-type(1),
        li.hide-on-collapse > [href="/~forums/6753.art-games"] {
            display: none;
        }
    }

    /*character games*/
    if charactergameSec {
        div.forum-category-wrapper:nth-of-type(4) > div.forum-category-forum:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/13973.character-games-freebies"] {
            display: none;
        }
    }

    /*forum games*/
    if forumgameSec {
        div.forum-category-wrapper:nth-of-type(4) > div.forum-category-forum:nth-of-type(3),
        li.hide-on-collapse > [href="/~forums/5865.forum-games"] {
            display: none;
        }
    }

    /*fav exchange*/
    if favSec {
        div.forum-category-wrapper:nth-of-type(4) > div.forum-category-forum:nth-of-type(4),
        li.hide-on-collapse > [href="/~forums/43187.fav-exchange"] {
            display: none;
        }
    }

    /*announcements*/
    if announceSec {
        div.forum-category-wrapper:nth-of-type(5) > div.forum-category-forum:nth-of-type(1),
        li.hide-on-collapse > [href="/~forums/18.announcements"] {
            display: none;
        }
    }

    /*general & off topic*/
    if genSec {
        div.forum-category-wrapper:nth-of-type(5) > div.forum-category-forum:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/11.general-off-topic"] {
            display: none;
        }
    }

    /*help & questions*/
    if helpSec {
        div.forum-category-wrapper:nth-of-type(5) > div.forum-category-forum:nth-of-type(3),
        li.hide-on-collapse > [href="/~forums/14421.help-questions"] {
            display: none;
        }
    }
    /*suggestions & bugs*/
    if bugsSec {
        div.forum-category-wrapper:nth-of-type(5) > div.forum-category-forum:nth-of-type(4),
        li.hide-on-collapse > [href="/~forums/14.suggestions-bugs"] {
            display: none;
        }
    }
}

@-moz-document domain("toyhou.se") {
    /* Categories */
    if characterCat==1 {
        div.forum-category-wrapper:nth-of-type(1),
        h4.forum-category-title:nth-of-type(1),
        li.hide-on-collapse.subheader:nth-of-type(2),
        li.hide-on-collapse > [href="/~forums/207.character-discussion"],
        li.hide-on-collapse > [href="/~forums/5868.species-discussion"],
        li.hide-on-collapse > [href="/~forums/12.worlds"] {
            display: none;
        }
    }
    if commerceCat==1 {
        div.forum-category-wrapper:nth-of-type(2),
        h4.forum-category-title:nth-of-type(2),
        li.hide-on-collapse.subheader:nth-of-type(6),
        li.hide-on-collapse > [href="/~forums/71.art-marketplace"],
        li.hide-on-collapse > [href="/~forums/5866.design-marketplace"],
        li.hide-on-collapse > [href="/~forums/13.adoption-center"],
        li.hide-on-collapse > [href="/~forums/5867.service-reviews"] {
            display: none;
        }
    }
    if creativeCat==1 {
        div.forum-category-wrapper:nth-of-type(3),
        h4.forum-category-title:nth-of-type(3),
        li.hide-on-collapse.subheader:nth-of-type(11),
        li.hide-on-collapse > [href="/~forums/10502.creator-s-corner"],
        li.hide-on-collapse > [href="/~forums/16.htmlcss-graphics"],
        li.hide-on-collapse > [href="/~forums/7515.art-freebies"],
        li.hide-on-collapse > [href="/~forums/13975.art-trades"] {
            display: none;
        }
    }
    if gamesCat==1 {
        div.forum-category-wrapper:nth-of-type(4),
        h4.forum-category-title:nth-of-type(4),
        li.hide-on-collapse.subheader:nth-of-type(16),
        li.hide-on-collapse > [href="/~forums/6753.art-games"],
        li.hide-on-collapse > [href="/~forums/13973.character-games-freebies"],
        li.hide-on-collapse > [href="/~forums/5865.forum-games"],
        li.hide-on-collapse > [href="/~forums/43187.fav-exchange"] {
            display: none;
        }
    }
    if siteCat==1 {
        div.forum-category-wrapper:nth-of-type(5),
        h4.forum-category-title:nth-of-type(5),
        li.hide-on-collapse.subheader:nth-of-type(20),
        li.hide-on-collapse > [href="/~forums/18.announcements"],
        li.hide-on-collapse > [href="/~forums/11.general-off-topic"],
        li.hide-on-collapse > [href="/~forums/14421.help-questions"],
        li.hide-on-collapse > [href="/~forums/14.suggestions-bugs"] {
            display: none;
        }
    }
}

Reviews

No reviews yet.