-
Notifications
You must be signed in to change notification settings - Fork 22
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
Create youtube-theater-fix.js, fixes brave/brave-browser#29591 #118
Conversation
adds a scriptlet to mirror the session cookie value in localstorage
resources/youtube-theater-fix.js
Outdated
} catch () { | ||
// swallow error from no cookie existing | ||
} | ||
}, 1000) |
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 think the ()
in front of catch is not needed, it's causing an error.
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.
you might want to prefix the filename with brave-
so that only Brave lists will be able to use it
We also need a corresponding filter list rule: brave/adblock-lists#1248 |
To make sure that they are in sync
adds a scriptlet to mirror the session cookie value in localstorage
addresses brave/brave-browser#29591