Skip to content

Manifest v3 - Mostly works#438

Open
Jupiter-Liar wants to merge 2 commits intoamitbl:masterfrom
Jupiter-Liar:Manifest-V3
Open

Manifest v3 - Mostly works#438
Jupiter-Liar wants to merge 2 commits intoamitbl:masterfrom
Jupiter-Liar:Manifest-V3

Conversation

@Jupiter-Liar
Copy link
Copy Markdown

@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
Copy Markdown

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