RYMNotificationHider

Hides various notifications displayed on Rate Your Music pages.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==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
@author             Sunny <[email protected]>
@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;
    }
  }
}