Closed Bug 1478092 Opened 6 years ago Closed 6 years ago

Multiple omnibox keywords

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: brettz9, Unassigned)

Details

(Whiteboard: [design-decision-denied])

I'd like for the "omnibox" manifest to allow an array of keywords, with the add-on code being supplied the particular keyword used as a new argument.

This could be done in a backward-compatible way by accepting a third argument to the `onInputChanged` listener indicating the specific keyword triggered in the case an add-on registers more than one.

I needed to develop separate add-ons despite their having similar core functionality (https://addons.mozilla.org/en-US/firefox/addon/enumerate/ and https://addons.mozilla.org/en-US/firefox/addon/enumerate-site/ ). Having this feature would prevent the need for this and invite an expansion of custom keywords.
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true
Whiteboard: design-decision-needed

While there are valid use cases for multiple keywords, limiting extensions to a single keyword for the omnibox preserves a simple UX for the user - a one-to-one relationship between each extension and a keyword. This is particularly important since there is no easy way for the user to see which keywords belong to which extensions. This restriction also prevents malicious extensions from abusing the keyword system.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Whiteboard: design-decision-needed → [design-decision-denied]
You need to log in before you can comment on or make changes to this bug.