Closed Bug 1579493 Opened 6 years ago Closed 6 years ago

Add shortcut in URL bar for forcing the behaviour of keyword.enabled=true

Categories

(Firefox :: Address Bar, enhancement)

68 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: u601362, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Set the property keyword.enabled=false for data protection reasons.
But sometimes I want to google the text I entered in the URL bar as I only recently changed the behaviour and I'm used to enter my search term into the URL bar, then press enter, and let Firefox google for it because the search term is not a valid URL.

Actual results:

The error page with the message "Hmm. We’re having trouble finding that site." appeared.

Expected results:

When I'm sure I want the data entered in the URL bar to go to Google as search term, instead of the Enter key, I'd like to press a certain key combination, e.g. Alt+Enter or something with the Enter key. Then, Firefox should behave as if keyword.enabled was set to true.

You can simply prefix your query with a search engine keyword, e.g. g gingerbread recipes. You can assign search engine keywords in the Search category of the preferences page, about:preferences#search

Component: Untriaged → Address Bar

(In reply to sunrisechain from comment #0)

Set the property keyword.enabled=false for data protection reasons.
But sometimes I want to google the text I entered in the URL bar as I only recently changed the behaviour and I'm used to enter my search term into the URL bar, then press enter, and let Firefox google for it because the search term is not a valid URL.

What's your primary purpose to set keyword.enabled=false then? If it's for privacy reasons you could just disable search suggestions. Sure, we'd still send a string you type and confirm to the search engine, but that's a limited risk compared to the benefit.

The error page with the message "Hmm. We’re having trouble finding that site." appeared.

That's the expected behavior with keyword.enabled=false

When I'm sure I want the data entered in the URL bar to go to Google as search term, instead of the Enter key, I'd like to press a certain key combination, e.g. Alt+Enter or something with the Enter key. Then, Firefox should behave as if keyword.enabled was set to true.

Unfortunately the shortcuts are pretty much already overloaded of meanings, we couldn't find a good shortcut for this.
you can do what comment 1 suggested, or you can ALT+DOWN, then Enter to pick the first search one-off button, or you could use an @keyword, like "@google something".
We'll shortly be working on a way to flip the urlbar to a search bar on demand, so that woul probably solve your troubles too.

Anyway, there's currently no plan to introduce a keyboard shortcut.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX

oh before I forget, you can also just type a question mark followed by your word

You need to log in before you can comment on or make changes to this bug.