Skip to content
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

Proposal: action.default_area=navbar and action.default_area=hidden #198

Open
carlosjeurissen opened this issue Apr 14, 2022 · 0 comments
Open
Labels
inconsistency Inconsistent behavior across browsers proposal Proposal for a change or new feature

Comments

@carlosjeurissen
Copy link
Contributor

carlosjeurissen commented Apr 14, 2022

Background

Mozilla Firefox supports the default_area property of the action manifest key. See: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_action#syntax

In addition, Google Chrome nowadays hides extension action buttons in an "extensions" dropdown menu. To keep the interface clean and show all installed extensions in this menu.

Use case

For some extensions, it's very important to be directly pinned from the start especially when the extension has a menu of options, like https://chrome.google.com/webstore/detail/bookmarks-menu/ffmdedmghpoipeldijkdlcckdpempkdi
Hiding the extension icons by default hurts the core features of such extensions. Not all extensions purpose are to act on the current page but just add additional UI to the browser.

This info could then be used by the browser to offer pin suggestions, like proposed in #199.

Solution

My proposal is to add support for the values hidden and navbar for action.default_area in all browsers. This allows the extension developer to indicate to a browser whether or not it's important to be pinned by default. The browser can then decide if and how in their UI they want to facilitate this.

The value navbar would indicate the webExtension prefers to be pinned right from the start. While the value none would indicate the webExtension is not at all interested in being exposed in the UI. This value could be ignored by browsers who prefer to always display extension icons for transparency and security reasons.

@carlosjeurissen carlosjeurissen changed the title Feature request: action.default_area=hidden and action.default_area=navbar Feature request: action.default_area=navbar and action.default_area=hidden Apr 14, 2022
@carlosjeurissen carlosjeurissen changed the title Feature request: action.default_area=navbar and action.default_area=hidden Proposal: action.default_area=navbar and action.default_area=hidden Apr 14, 2022
@xeenon xeenon added the inconsistency Inconsistent behavior across browsers label Apr 14, 2022
@xeenon xeenon added the proposal Proposal for a change or new feature label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inconsistency Inconsistent behavior across browsers proposal Proposal for a change or new feature
Projects
None yet
Development

No branches or pull requests

2 participants