Skip to content

RYMNotificationHider by thelastzombie

Imported from https://codeberg.org/sun/userstyles/raw/branch/main/user/RYMNotificationHider.user.css

Mirrored from https://forgejo.sny.sh/sun/userstyles/raw/branch/main/user/RYMNotificationHider.user.css

Screenshot of RYMNotificationHider

Details

Authorthelastzombie

LicenseHippocratic License; https://forgejo.sny.sh/sun/userstyles/src/branch/main/LICENSE.md

Categoryrateyourmusic

Created

Updated

Size3.4 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hides various notifications displayed on Rate Your Music pages.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name               RYMNotificationHider
@namespace          sun/userstyles
@version            1.1.2
@description        Hides various notifications displayed on Rate Your Music pages.
@compatible         chrome
@compatible         edge
@compatible         firefox
@compatible         opera
@compatible         safari
@homepageURL        https://forgejo.sny.sh/sun/userstyles
@supportURL         https://forgejo.sny.sh/sun/userstyles/issues
@contributionURL    https://liberapay.com/sun
@contributionAmount €1.00
@downloadURL        https://forgejo.sny.sh/sun/userstyles/raw/branch/main/user/RYMNotificationHider.user.css
@installURL         https://forgejo.sny.sh/sun/userstyles/raw/branch/main/user/RYMNotificationHider.user.css
@author             Sunny <sunny@sny.sh>
@icon               https://forgejo.sny.sh/sun/userstyles/raw/branch/main/icons/RYMNotificationHider.png
@copyright          2023-present, Sunny (https://sny.sh/)
@license            Hippocratic License; https://forgejo.sny.sh/sun/userstyles/src/branch/main/LICENSE.md
@preprocessor       stylus
@var                checkbox fc-consent-root            "Hide cookie consent pop-up"                            1
@var                checkbox frame-div-gpt-ad           "Hide Google Publisher Tags advertisements"             1
@var                checkbox connatix_video             "Hide Connatix video advertisements"                    1
@var                checkbox subscription_update_banner "Hide subscription advertisement after site update"     1
@var                checkbox end_of_year_banner         "Hide giveaway and sale banners"                        1
@var                checkbox glitchwave_invite          "Hide Glitchwave public beta invitation (profile only)" 1
@var                checkbox release_ac                 "Hide release submission/editing notes"                 1
@var                checkbox genre_vote_abuse_banner    "Hide genre/descriptor voting abuse warning"            1
@var                checkbox forum_move_banner          "Hide forum relocation notification"                    1
@var                checkbox list_note                  "Hide list content note"                                1
==/UserStyle== */

@-moz-document domain("rateyourmusic.com"), domain("rym.fm") {
  if fc-consent-root {
    #page_body {
      overflow: auto !important;
    }
    div.fc-consent-root {
      display: none !important;
    }
  }

  if frame-div-gpt-ad {
    [id*="frame-div-gpt-ad"] {
      display: none !important;
    }
  }

  if connatix_video {
    [style="vertical-align:middle;width:415px;min-height:280px;"] {
      display: none;
    }
  }

  if subscription_update_banner {
    #subscription_update_banner {
      display: none;
    }
  }

  if end_of_year_banner {
    div[style="padding:1em;padding-bottom:2em;"] {
      display: none;
    }
  }

  if glitchwave_invite {
    #glitchwave_invite {
      display: none;
    }
  }

  if release_ac {
    #release_ac .warning {
      display: none;
    }
  }

  if genre_vote_abuse_banner {
    #genre_vote_abuse_banner {
      display: none;
    }
  }

  if forum_move_banner {
    #forum_move_banner {
      display: none;
    }
  }

  if list_note {
    #list_comment + .note {
      display: none;
    }
  }
}

Reviews

No reviews yet.