Closed Bug 1539973 Opened 5 years ago Closed 5 years ago

I can't create a keyword search bookmark with the search placeholder in the URL (e.g. http://%s.mozilla.org is not allowed)

Categories

(Firefox :: Bookmarks & History, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: matt.heerschap, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

Tried to create a keyword search bookmark with %s in the URL itself, not the path or parameters (i.e. http://%s.mozilla.org)

Actual results:

bookmarks manager won't allow me to create this bookmark. Also any existing keyword search bookmarks that had this do not work.

Expected results:

Bookmarks manager would allow creation of the keyword search, keyword searches with placeholders in the URL would continue to work

Has STR: --- → yes
Component: Untriaged → Bookmarks & History

yes, this is not supported, I'm sorry about that, it was an old design decision.

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

Can you provide the background on this design decision? Is the loss of this functionality something an addon could address?

In my day-to-day work I frequently access different URLs for different clients. The URL is always something like [clientId]-portal.mozilla.org. My productivity is impaired without this feature.

The scope for keywords is to be able to provide a variable parameter in the query string, they have already been abused as "aliases" of other pages, but the long term target we have is to merge keywords with search engine aliases (bug 648398), and then they could only provide a query string parameter. Adding more functionality today, would mean losing that as soon as we proceed with the plan, that is a no-go. We'd introduce a feature that we know we'll remove in the future.

WebExtensions can register a magic keyword through the omnibox api, so potentially it should be possible to do what you want through an add-on, but you'd need one add-on for each replacement (so one add-on may register the "mozilla" magic word and "mozilla test" could open "test.mozilla.org") or you could make a more generic add-on converting "aka mozilla test" to "test.mozilla.org". But at that point you are typing as much.

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