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 migration #4

Open
ave1217 opened this issue Jan 1, 2023 · 1 comment
Open

Manifest v3 migration #4

ave1217 opened this issue Jan 1, 2023 · 1 comment

Comments

@ave1217
Copy link

ave1217 commented Jan 1, 2023

I have been using this extension for a while but it seems like an update is needed due to the manifest version change from v2 to v3.

@jcobb48
Copy link

jcobb48 commented Dec 28, 2023

@ave1217 @dannyfan I tested replacing manifest.json content with this and it works:

{
    "name" : "Crunchyroll Playback Speed Controller",
    "version" : "1.2.0",
    "description" : "Extension to change Crunchyroll's video playback speed.",
    "background": {
        "service_worker": "background.js",
        "type": "module"
    },
    "action": {
        "default_popup": "popup.html"
    },
    "content_scripts": [
        {
          "matches": ["https://*.crunchyroll.com/*"],
          "run_at": "document_end",
          "all_frames": true,
          "js": ["playback.js"]
        }
      ],
    "permissions": ["activeTab", "declarativeContent", "storage"],
    "manifest_version" : 3
}

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

No branches or pull requests

2 participants