Annoying banner on top of "bandcamp.com"

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2024-05-12, 20:45

Annoying banner on top of "bandcamp.com"

Post by Mark-PM » 2025-08-15, 21:21

That annoying banner on top of https://bandcamp.com/ - covers the login-button (at the upper right corner) almost completely and doesn't go away. Windows & Linux, Basilisk & Pale Moon.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 38378
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Annoying banner on top of "bandcamp.com"

Post by Moonchild » 2025-08-15, 22:02

Maybe let bandcamp know. It seems to be an intentional design choice to have it at a fixed position with a high z-index (i.e. on top of everything else).
Not sure why it needs a dedicated bar like that to skip to content that's not far below it, anyway.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2479
Joined: 2018-05-05, 13:29

Re: Annoying banner on top of "bandcamp.com"

Post by vannilla » 2025-08-15, 22:56

That particular element seems to be for accessibility purposes. It should normally be hidden until you give it focus by tabbing into it.
From what I can gather, Bandcamp does so by having the element start with a width of zero and expand to 100% when focused.
It's trivial to perform this trick in a way that works on every browser including Pale Moon, but there is something somewhere inside the pile of front-end frameworks and dependencies (it seems to be something based on Vue) that breaks.

User avatar
adoxa
Astronaut
Astronaut
Posts: 520
Joined: 2019-03-16, 13:26
Location: Qld, Aus.

Re: Annoying banner on top of "bandcamp.com"

Post by adoxa » 2025-08-16, 00:19

:focus-visible is not supported, causing the whole rule to fail. Try this userstyle.

Code: Select all

@-moz-document domain("bandcamp.com") {
  .bc-visible-focus-only:not(:focus,:active,:focus-within) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px
  }
}

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 631
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Annoying banner on top of "bandcamp.com"

Post by FranklinDM » 2025-08-16, 03:40


User avatar
Mark-PM
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2024-05-12, 20:45

Re: Annoying banner on top of "bandcamp.com"

Post by Mark-PM » 2025-08-16, 19:34

Many thanks for your replies, have nice, peaceful weekend!