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
I can't define default options for the extension. The only apparent way to be able to copy configurations over to other machines is to download the backup JSON file from the extension's configuration page and then manually restore using that file.
I should note that I am using Home Manager, though it works just fine for uBlock and other policy configurations.
To Reproduce
Try to define policy with contents of backed up vimium-options.json file, or even just a single option like scrollStepSize (either through Nix or normally).
Vimium does not load the configuration.
See "3rdparty".Extensions; the other options are unimportant:
Browser and Vimium version
Firefox version 133.0.3 on Linux 6.12.7 #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 27 13:02:20 UTC 2024
Vimium version 2.1.2
The text was updated successfully, but these errors were encountered:
That seems to be the only way that policies are handled by addons, yeah. It wouldn't make much sense to have multiple ways of doing it - that's what a uniform API is there for - to provide a uniform interface for a use cases that might be handled differently behind the scenes by different browsers or on different platforms.
It's a different mechanism than what is used for saving / restoring a backup.
Aside from that browsers have their own way of storing the extension settings locally. I think that's usually in SQLite file databases, but I'm not sure how exactly it works or if there's differences among browsers, etc.
I can't define default options for the extension. The only apparent way to be able to copy configurations over to other machines is to download the backup JSON file from the extension's configuration page and then manually restore using that file.
uBlock supports configuration through policies, and I was wondering if I'm doing something wrong or if this isn't currently possible with Vimium. There's even a GitHub page by Mozilla using uBlock as an example.
I should note that I am using Home Manager, though it works just fine for uBlock and other policy configurations.
To Reproduce
vimium-options.json
file, or even just a single option likescrollStepSize
(either through Nix or normally).See
"3rdparty".Extensions
; the other options are unimportant:Browser and Vimium version
Firefox version 133.0.3 on Linux 6.12.7 #1-NixOS SMP PREEMPT_DYNAMIC Fri Dec 27 13:02:20 UTC 2024
Vimium version 2.1.2
The text was updated successfully, but these errors were encountered: