Skip to content

Hide TH Threads with Keywords by Avistella

Screenshot of Hide TH Threads with Keywords

Details

AuthorAvistella

LicenseCC-BY-NC-SA-4.0

Categorytoyhou.se

Created

Updated

Size8.5 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Automatically hides threads on Toyhouse forums that contain specific keywords

Notes

  • This does not shift threads, meaning if you have multiple threads on a page that are removed because of keywords, you will have a "shorter" page with fewer threads inside it.
  • Some threads may get accidentally blocked if they contain the same keyword
    Example: If you use the keyword "king", any thread that has those specific characters (ex. threads with titles like "looKING", "baKING", etc.) will also be blocked
  • Use lowercase letters only
  • If using multiple words together (ex. "lf vgen code"), put a dash ( - ) in between each word (ex. "lf-vgen-code")
  • You may need to use multiple keywords of different variants (ex. "artfight" and "art-fight")
  • Symbols (ex. ?, +, /, etc.) aren't allowed/ do not work
  • Make sure each line EXCEPT the last line of the list has a comma ( , ) at the end
  • Global keywords will block ALL threads across ALL boards with that keyword
    Example: If you want to block general "lf" threads like "lf friends", "lf servers", "lf codes"), if you use JUST "lf" in the GLOBAL KEYWORDS, you will also block "lf art trades" or "lf commissions" in the other boards. To prevent this, you can simply use the keyword "lf" for the GENERAL FORUM section.

Source code

/* ==UserStyle==
@name           Hide TH Threads with Keywords
@namespace      Hide TH Threads with Keywords | Avistella
@version        1.0.0
@description    Automatically hides threads on Toyhouse forums that contain specific keywords
@author         Avistella
@license        CC-BY-NC-SA-4.0
==/UserStyle== */

/*--------------NOTES--------------

    * This does not shift threads, meaning if you have multiple threads on a page that are removed because of keywords, you will have a "shorter" page with fewer threads inside it.
    * Some threads may get accidentally blocked if they contain the same keyword
    Example: If you use the keyword "king", any thread that has those specific characters (ex. threads with titles like "looKING", "baKING", etc.) will also be blocked
    * Use lowercase letters only
    * If using multiple words together (ex. "lf vgen code"), put a dash ( - ) in between each word (ex. "lf-vgen-code")
    * You may need to use multiple keywords of different variants (ex. "artfight" and "art-fight")
    * Symbols (ex. ?, +, /, etc.) aren't allowed/ do not work
    * Make sure each line EXCEPT the last line of the list has a comma ( , ) at the end
    * Global keywords will block ALL threads across ALL boards with that keyword
    Example: If you want to block general "lf" threads like "lf friends", "lf servers", "lf codes"), if you use JUST "lf" in the GLOBAL KEYWORDS, you will also block "lf art trades" or "lf commissions" in the other boards. To prevent this, you can simply use the keyword "lf" for the GENERAL FORUM section.

---------------------------------*/

@-moz-document domain("toyhou.se") {

    /*--------------GLOBAL KEYWORDS--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/11.general-off-topic") {

    /*--------------GENERAL FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/207.character-discussion") {

    /*--------------CHARACTER DISCUSSION FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/5868.species-discussion") {

    /*--------------SPECIES DISCUSSION FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/12.worlds") {

    /*--------------WORLDS FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/71.art-marketplace") {

    /*--------------ART MARKETPLACE FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/5866.design-marketplace") {

    /*--------------DESIGN MARKETPLACE FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/13.adoption-center") {

    /*--------------ADOPTION CENTER FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/5867.service-reviews") {

    /*--------------SERVICE REVIEWS FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/10502.creator-s-corner") {

    /*--------------CREATOR'S CORNER FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/16.htmlcss-graphics") {

    /*--------------HTML/CSS & GRAPHICS FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/7515.art-freebies") {

    /*--------------ART FREEBIES FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/13975.art-trades") {

    /*--------------ART TRADES FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/6753.art-games") {

    /*--------------ART GAMES FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/13973.character-games-freebies") {

    /*--------------CHARACTER GAMES/ FREEBIES FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/5865.forum-games") {

    /*--------------FORUM GAMES FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/43187.fav-exchange") {

    /*--------------FAV EXCHANGE FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/14421.help-questions") {

    /*--------------HELP AND QUESTIONS FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

@-moz-document url-prefix("https://toyhou.se/~forums/14.suggestions-bugs") {

    /*--------------SUGGESTIONS FORUM--------------*/
    
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"]),
    .row.forum-thread-row:has(h3 a[href*="SPECIFICKEYWORDHERE"])
    {display:none;}
    
}

Reviews

No reviews yet.