RYMNotificationHider

Hides various notifications displayed on Rate Your Music pages.

目前为 2023-01-07 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name RYMNotificationHider
  3. @namespace sun/userstyles
  4. @version 1.0.0
  5. @description Hides various notifications displayed on Rate Your Music pages.
  6. @compatible chrome
  7. @compatible edge
  8. @compatible firefox
  9. @compatible opera
  10. @compatible safari
  11. @homepageURL https://codeberg.org/sun/userstyles
  12. @supportURL https://codeberg.org/sun/userstyles/issues/new
  13. @contributionURL https://liberapay.com/sun
  14. @contributionAmount €1.00
  15. @author Sunny <roesch.eric+userstyles@protonmail.com>
  16. @icon https://codeberg.org/sun/userstyles/raw/branch/main/icons/RYMNotificationHider.png
  17. @copyright 2023-present, Sunny
  18. @license MIT; https://codeberg.org/sun/userstyles/src/branch/main/LICENSE
  19. @preprocessor stylus
  20. @var checkbox fc-consent-root "Hide cookie consent pop-up" 1
  21. @var checkbox frame-div-gpt-ad "Hide Google Publisher Tags advertisements" 1
  22. @var checkbox connatix_video "Hide Connatix video advertisements" 1
  23. @var checkbox subscription_update_banner "Hide subscription advertisement after site update" 1
  24. @var checkbox end_of_year_banner "Hide end-of-year best-of and giveaway notification" 1
  25. @var checkbox glitchwave_invite "Hide Glitchwave public beta invitation (profile only)" 1
  26. @var checkbox release_ac "Hide release submission/editing notes" 1
  27. @var checkbox genre_vote_abuse_banner "Hide genre/descriptor voting abuse warning" 1
  28. ==/UserStyle== */
  29.  
  30. @-moz-document domain("rateyourmusic.com") {
  31. if fc-consent-root {
  32. #page_body {
  33. overflow: auto !important;
  34. }
  35. div.fc-consent-root {
  36. display: none !important;
  37. }
  38. }
  39.  
  40. if frame-div-gpt-ad {
  41. [id*="frame-div-gpt-ad"] {
  42. display: none !important;
  43. }
  44. }
  45.  
  46. if connatix_video {
  47. [style="vertical-align:middle;width:415px;min-height:280px;"] {
  48. display: none;
  49. }
  50. }
  51.  
  52. if subscription_update_banner {
  53. #subscription_update_banner {
  54. display: none;
  55. }
  56. }
  57.  
  58. if end_of_year_banner {
  59. div[style="padding:1em;padding-bottom:2em;"] {
  60. display: none;
  61. }
  62. }
  63.  
  64. if glitchwave_invite {
  65. #glitchwave_invite {
  66. display: none;
  67. }
  68. }
  69.  
  70. if release_ac {
  71. #release_ac .warning {
  72. display: none;
  73. }
  74. }
  75.  
  76. if genre_vote_abuse_banner {
  77. #genre_vote_abuse_banner {
  78. display: none;
  79. }
  80. }
  81. }