-
Notifications
You must be signed in to change notification settings - Fork 336
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
Option to automatically pin installed extension #2874
Comments
Both Firefox and Chrome support the ability to configure the extension toolbar location through system-wide enterprise policies.
Would this work for you? From the Firefox engineering perspective, we are also supportive of adding a preference to customize the default placement of the button at install time. That would be a few lines of code at https://searchfox.org/mozilla-central/rev/6b91b922725838e2732aeb478b13e5b33e33ce1b/toolkit/components/extensions/ExtensionActions.sys.mjs#510-513 plus unit tests, a change similar to https://hg.mozilla.org/mozilla-central/rev/cb3c9ccc76d6 |
As far as I know, the policy editor doesn't exist on Home editions of Windows, so that doesn't work for independent extension devs who aren't using Pro or Enterprise editions. Using the policies.json can get around that in ff, but the only alternative in chrome seems to be manual registry edits. Mainly though, the policies would get applied to all profiles of that browser rather than just the temp profile created by web-ext, and that config is outside the extension's project folder so it couldn't be checked into version control and doesn't allow for quickly/easily changing that config per-project. |
Looking at the code snippet above the default position of the popup button is defined by |
Is this a feature request or a bug?
Feature request
What is the current behavior?
It's a small nag, but when initially running
web-ext run
with either ff or chrome, the installed extension's action button gets hidden under the extensions menu so it takes a couple extra clicks to initially pin it if you're testing stuff on the extension's popup page.What is the expected or desired behavior?
Automatically pin the action button for the installed extension so it can initially be interacted with a bit quicker.
A potential alternative workaround currently that I used is to set a custom profile, set the
--keep-profile-changes
once, pin the extension, then relaunch without--keep-profile-changes
, but a direct option to pin the icon without a separate profile would be really nice if possible.The text was updated successfully, but these errors were encountered: