Skip to content
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

Merged
merged 5 commits into from
Jul 7, 2023

Conversation

pes10k
Copy link
Collaborator

@pes10k pes10k commented Jul 6, 2023

adds a scriptlet to mirror the session cookie value in localstorage

addresses brave/brave-browser#29591

adds a scriptlet to mirror the session cookie value in localstorage
} catch () {
// swallow error from no cookie existing
}
}, 1000)
Copy link
Collaborator

@ShivanKaul ShivanKaul Jul 6, 2023

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.

Copy link
Collaborator

@antonok-edm antonok-edm left a 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

@ShivanKaul
Copy link
Collaborator

We also need a corresponding filter list rule: brave/adblock-lists#1248

@ShivanKaul ShivanKaul merged commit 6075775 into master Jul 7, 2023
@ShivanKaul ShivanKaul deleted the scriptlet-for-fixing-yt-theater-issue branch July 7, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants