You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Tampermonkey BETA 5.2.* (mv3 extension) is not working
To Reproduce
Install Tampermonkey BETA [1], which is a manifest v3 extension. Observe the service worker throwing the error Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'configureWorld')
It looks like the userScripts API is not available to mv3 extensions (Developer Mode is enabled).
If debugging into the service worker, then you can see that chrome.userScripts return undefined, while it should throw an error if developer mode is disabled or provide the userScripts API (Chrome 120+) implementation.
Describe the bug
Tampermonkey BETA 5.2.* (mv3 extension) is not working
To Reproduce
Install Tampermonkey BETA [1], which is a manifest v3 extension. Observe the service worker throwing the error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'configureWorld')
Expected behavior
No error
Workaround
Load Tampermonkey BETA 5.1.6194 (mv2 extension)
Smartphone:
Additional context
It looks like the userScripts API is not available to mv3 extensions (Developer Mode is enabled).
If debugging into the service worker, then you can see that
chrome.userScripts
return undefined, while it should throw an error if developer mode is disabled or provide the userScripts API (Chrome 120+) implementation.[1]
https://chromewebstore.google.com/detail/tampermonkey-beta/gcalenpjmijncebpfijmoaglllgpjagf
https://data.tampermonkey.net/tampermonkey_beta.crx
The text was updated successfully, but these errors were encountered: