RYMNotificationHider

Hides various notifications displayed on Rate Your Music pages.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==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;
    }
  }
}