JohnyP36/YT-Nonstop

Migration to Manifest v3

Closed this issue · 2 comments

Prerequisites

I tried to reproduce the issue when...

  • Other webextensions related to Youtube are disabled -- Just to ensure there is no issues or conflicts with other webbrowser extensions.
  • using a new, unmodified browser profile

Describe the issue

As Google Chrome and Microsoft Edge are no longer accepting manifest version 2 in their stores from January 2023, your extension has to migrate to v3.

I did a lot, but one think doesn't work (because I don't know how to do it) and that is how to make the autoplay+loop.js work for now he doesn't execute the script because of violating the script-src = 'self'-policy.

Below you can find all the files as I have them now:
1.7.0.zip

Also the autoconfirm don't work anymore, but the console don't give an error. So I don't know what wrong there.

Screenshot(s)

Screenshot 1 of the problem/error

image

Screenshot 2 of the problem/error

image

Browser & Extension version

MS Edge 101, 1.6.5

Operating System & Version

Windows 10, 21H2

Notes

No response

Although this is another extension, maybe this fixes the problem Nomes77/YT-Nonstop@bedd62c.
I made this (https://github.com/JohnyP36/YT-Nonstop/tree/manifest_v3/manifest_v3) from it, but it didn't work.

So please help!


edit:

I removed a line in the popup1.3.2.html file which fixed the problem with script-src = 'self'-policy.

Fixed with 87d50a1 & e54580c (+ e693278)