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

Manifest v3 - Mostly works #438

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jupiter-Liar
Copy link

@Jupiter-Liar Jupiter-Liar commented Aug 6, 2024

This V3 port mostly works when I test it. There is one place where the original seed.js was causing the script not to work. It was the "if (window.writeEmbed || window.ytplayer || window.Polymer)" check. The script wouldn't work at all with that in place. The error message and return were always triggered. I wasn't really sure how to fix this, so I tried adding a mutation observer. It lets the script work, instead of just returning, but it also allows the error that this check was supposed to prevent.

I'm not really sure how to fix this part properly. You'll have to figure that part out. But in the meantime, this gets the extension most of the way to a proper V3 version, since V2 support is ending. It's V3. It runs. It just has some kinks to work out.

I just tested basic blocking. I didn't test advanced blocking.

@zoolo80
Copy link

zoolo80 commented Aug 8, 2024

im hoping for the best you been a life saver I use it on my dads PC cuz he thinks politics is a requirement and it ain't good for his stress issues so I wish u the best and have a great year

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.

2 participants