1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 12:55:55 +00:00

fix selector for top nav get bits button

currently, the Get Bits button is still shown when unchecking 'Display
Bits' under Chat > Bits and Cheering >> Appearance. it looks like aria
attributes changed & it no longer has `data-test-selector`. updated to
use `data-a-target="top-nav-get-bits-button"`

note: i couldn't get the 'Show the Get Bits button.' option under
Apperance > Layout >> Top Navigation to work independently of the option
under Chat > Bits and Cheering. not sure what's up with that.
This commit is contained in:
lemonslut 2025-05-28 23:34:53 -06:00
parent b250075813
commit c637804caf
No known key found for this signature in database

View file

@ -1,7 +1,7 @@
.get-bits-button,
.gem-notif-icon,
.chat-input button[data-a-target="bits-button"],
button[data-test-selector="get-bits-button__top-nav-button"],
button[data-a-target="top-nav-get-bits-button"],
.channel-header__right > .tw-mg-l-1 > div > div > button:not([data-a-target]) {
display: none !important;
}
}