Annoying banner on top of "bandcamp.com"
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!
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!
-
Mark-PM
- Apollo supporter

- Posts: 42
- Joined: 2024-05-12, 20:45
Annoying banner on top of "bandcamp.com"
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.
-
Moonchild
- Pale Moon guru

- Posts: 38378
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: Annoying banner on top of "bandcamp.com"
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.
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
"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

- Posts: 2479
- Joined: 2018-05-05, 13:29
Re: Annoying banner on top of "bandcamp.com"
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.
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.
-
adoxa
- Astronaut

- Posts: 520
- Joined: 2019-03-16, 13:26
- Location: Qld, Aus.
Re: Annoying banner on top of "bandcamp.com"
: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
}
}
-
FranklinDM
- Add-ons Team

- Posts: 631
- Joined: 2017-01-14, 02:40
- Location: Philippines
-
Mark-PM
- Apollo supporter

- Posts: 42
- Joined: 2024-05-12, 20:45
Re: Annoying banner on top of "bandcamp.com"
Many thanks for your replies, have nice, peaceful weekend!
