-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename login disclaimer #4268
Rename login disclaimer #4268
Conversation
Kudos, SonarCloud Quality Gate passed!
|
https://demo.jellyfin.org/stable works with uBlock Origin 1.46.0 (Firefox 108 and Chrome 108) What kind of filter affects this? UPD: |
I thought it was the i-dont-care-about-cookies.txt. Specifically I believe this line to be the culprit (found it in my uBlock Origin filters list):
I might be wrong though. The demo site does not work for me (UngoogledChromium 108 with uBlock Origin 1.40.8 and Librewolf 108 with uBlock Origin 1.46.0). I tried it with normal Firefox aswell now and there it works (Firefox 108 with uBlock Origin 1.46.0). I don't know why this is the case tbh. The list you mentioned also introduces a matching filter:
but I could not find this one in my uBlock Origin filters list. |
This seems like it could become almost a game of whack-a-mole with these plugins randomly hiding stuff. Maybe we should go with something like |
disclaimerContainer is confused by adblockers using the "I don't care about cookies" filters with cookie disclaimers. This results in the disclaimer being blocked when using popular AdBlocker Extensions. This commit renames disclaimerContainer -> loginDisclaimerContainer disclaimer -> loginDisclaimer to be more verbose and circumvent that filter
4bc312f
to
9f8e98b
Compare
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed my mind... we refer to this as a login disclaimer in the API/server so this change makes sense regardless of what dumb things browser plugins are doing. 😄
The HTML element
disclaimerContainer
on the login page is confused by adblockers using the "I don't care about cookies" filters with cookie disclaimers. This results in the disclaimer being blocked when using popular adblocker extensions like uBlock Origin.Changes
This commit renames
disclaimerContainer
->loginDisclaimerContainer
disclaimer
->loginDisclaimer
to be more verbose and circumvent that filter.
Issues
This was most likely the reason for #3737