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
{{ message }}
Repository navigation
Pass in custom chromium prefs (enable developer mode by default) #2899
Currently, web-ext uses [email protected], but v1.1.0 was just released, with a fix to make the prefs option work. This enables us to set custom preferences for the profile, including extensions.ui.developer_mode, which would enable developer mode by default when using web-ext, which is super convenient during development.
Just like the --pref for firefox, it would be awesome if we could add --chromium-pref to the CLI and chromiumPrefs to the JS API. Or at least enable extensions.ui.developer_mode by default. I always have to toggle the setting when developing an extension before debugging the background in chrome.
I'd be happy to submit a PR, but I can't get tests to pass after upgrading chrome-launcher, there's a error with the watcher that I can't figure out :/
The PR that was abandoned before introduced the feature via a Preferences file directly in the profile directory. I think that the approach would still work.
Activity
Rob--W commentedon Oct 3, 2023
Neat. I am supportive of setting this flag by default.
If you have something almost working, you could also create a PR and ask for feedback.
aklinker1 commentedon Oct 3, 2023
Nice, I wanted to make sure this was something that would be accepted before I put any more work into it. I'll open a PR sometime soon.
aklinker1 commentedon Oct 15, 2023
@Rob--W I got the tests working! PR opened.
pirate commentedon May 29, 2025
Looks like chromium is removing some of the prefs setting APIs, is mozilla keeping them?
Rob--W commentedon May 29, 2025
Firefox still supports setting prefs.
The PR that was abandoned before introduced the feature via a Preferences file directly in the profile directory. I think that the approach would still work.
PatrykKuniczak commentedon May 23, 2026
@Rob--W Close this, fixed by #3664
PatrykKuniczak commentedon Oct 10, 2026
@Rob--W Let's close this one 😄