Surfingkeys: Breaking changes of manifest v3(version 1.17.0)
Hi All,
On September 16, 2024, 1.17.0 was released(only for Chrome now, from branch mv3) to address manifest v3 upgrade, otherwise the extension would be taken down from chrome web store.
For now, please turn on Developer mode from chrome://extensions/ after you installed/upgraded to 1.17.0, due to following reason
The 'userScripts' API is only available for users in developer mode.
Then restart your browser, most features should work. And here are some known issues
api.vmapkeyis missing.api.Hints.setCharacteris missing.settings.blocklistPatternis not working.chrome.storageis not allowed in setting snippets.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 29
- Comments: 22 (5 by maintainers)
@desgua You have to build the extension first. Run the following commands in the extension directory:
Then load unpacked
dist/production/chrome1.17.1 has been released, above mentioned issue should have been resolved.
For those of you with the know how, checkout commit f82181963 (1.16.1) and build it from source yourself, and load the unpacked extension. The APIs still work, the new update just had to remove them to not get removed from the Chrome Web Store.
This won’t work forever as Manifest v2 will eventually be unsupported entirely, but for now it allows Surfingkeys to be usable on Chrome for me.
As a workaround for
settings.blocklistPattern, I useapi.unmapAllExcept([], url_pattern)to unmap all keybindings for specific sites. For example:why there is not
git tagfor this…Enabling developer mode, manages to load and save settings from URL successfully.
However, settings fails to apply (extension works with the default configuration). In console it shows the following errors:
I confirm that, if enabled/disable “developer options”, it is necessary to restart the Browser to apply the change.
Vivaldi 6.9.3447.37 (Stable channel) (32 bits).
I am available if I can help with tests.
Thank you for addressing this so quickly. FYI, this line in my config also causes an error:
settings.prevLinkRegex, settings.nextLinkRegexnot working[SurfingKeys] Error found in settings: TypeError: Hints.setNumeric is not a functionseems
api.Normalis also missing