Add an API to list installed search engines and execute searches using only those engines
Categories
(WebExtensions :: Untriaged, enhancement, P3)
Tracking
(firefox63 fixed)
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: andy+bugzilla, Assigned: mkaply)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete, helpwanted, Whiteboard: [design-decision-approved])
Attachments
(2 files, 2 obsolete files)
59 bytes,
text/x-review-board-request
|
aswan
:
review+
|
Details |
18.98 KB,
patch
|
Details | Diff | Splinter Review |
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Comment 4•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Updated•7 years ago
|
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Reporter | ||
Comment 26•7 years ago
|
||
Comment 27•7 years ago
|
||
Comment 28•7 years ago
|
||
Comment 29•7 years ago
|
||
Comment 30•7 years ago
|
||
Comment 31•7 years ago
|
||
Comment 32•7 years ago
|
||
Comment 33•7 years ago
|
||
Comment 34•7 years ago
|
||
Assignee | ||
Comment 35•7 years ago
|
||
Comment 36•7 years ago
|
||
Assignee | ||
Comment 37•7 years ago
|
||
Comment 38•7 years ago
|
||
Assignee | ||
Comment 39•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 41•7 years ago
|
||
mozreview-review |
Comment 43•7 years ago
|
||
Assignee | ||
Comment 44•7 years ago
|
||
Comment 45•7 years ago
|
||
Assignee | ||
Comment 46•7 years ago
|
||
Comment 47•7 years ago
|
||
Comment 48•7 years ago
|
||
Assignee | ||
Comment 49•7 years ago
|
||
mozreview-review-reply |
Comment 50•7 years ago
|
||
Assignee | ||
Comment 51•7 years ago
|
||
Comment hidden (mozreview-request) |
Comment 53•7 years ago
|
||
mozreview-review |
Comment 54•7 years ago
|
||
Assignee | ||
Comment 55•7 years ago
|
||
Comment 56•7 years ago
|
||
Comment 57•7 years ago
|
||
mozreview-review |
Comment 58•7 years ago
|
||
Comment 59•7 years ago
|
||
Comment 60•7 years ago
|
||
Comment 61•7 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 63•7 years ago
|
||
Comment 64•7 years ago
|
||
mozreview-review |
Comment 65•7 years ago
|
||
Updated•7 years ago
|
Assignee | ||
Comment 67•7 years ago
|
||
Comment 68•7 years ago
|
||
Comment 69•6 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 71•6 years ago
|
||
Comment 72•6 years ago
|
||
Assignee | ||
Comment 73•6 years ago
|
||
Comment 74•6 years ago
|
||
Comment 75•6 years ago
|
||
Assignee | ||
Comment 76•6 years ago
|
||
Comment 77•6 years ago
|
||
Comment 78•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment 80•6 years ago
|
||
mozreview-review |
Comment 81•6 years ago
|
||
Comment 82•6 years ago
|
||
Comment 83•6 years ago
|
||
Comment hidden (mozreview-request) |
Assignee | ||
Comment 85•6 years ago
|
||
Comment 86•6 years ago
|
||
Comment 87•6 years ago
|
||
mozreview-review |
Assignee | ||
Comment 88•6 years ago
|
||
mozreview-review-reply |
Comment 89•6 years ago
|
||
Assignee | ||
Comment 90•6 years ago
|
||
Updated•6 years ago
|
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Comment hidden (mozreview-request) |
Comment 93•6 years ago
|
||
mozreview-review |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 96•6 years ago
|
||
Comment 97•6 years ago
|
||
Comment 98•6 years ago
|
||
Comment 99•6 years ago
|
||
Comment 100•6 years ago
|
||
Assignee | ||
Comment 101•6 years ago
|
||
Comment 102•6 years ago
|
||
Comment 103•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment 105•6 years ago
|
||
Assignee | ||
Comment 106•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment 108•6 years ago
|
||
Comment 109•6 years ago
|
||
bugherder |
Comment 110•6 years ago
|
||
Comment 111•6 years ago
|
||
Comment 112•6 years ago
|
||
Comment 113•6 years ago
|
||
Comment 114•6 years ago
|
||
Comment 115•6 years ago
|
||
Comment 116•6 years ago
|
||
Comment 117•6 years ago
|
||
Assignee | ||
Comment 118•6 years ago
|
||
Comment 119•6 years ago
|
||
Assignee | ||
Comment 120•6 years ago
|
||
Comment 121•6 years ago
|
||
Comment 122•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 123•6 years ago
|
||
Comment 124•6 years ago
|
||
Assignee | ||
Comment 125•6 years ago
|
||
Comment 126•6 years ago
|
||
Comment 127•6 years ago
|
||
Comment 128•6 years ago
|
||
Comment 129•6 years ago
|
||
Comment 130•6 years ago
|
||
Comment 131•6 years ago
|
||
Comment 132•6 years ago
|
||
Comment 133•6 years ago
|
||
Comment 134•6 years ago
|
||
Comment 135•6 years ago
|
||
Assignee | ||
Comment 136•6 years ago
|
||
Comment 137•6 years ago
|
||
Comment 138•6 years ago
|
||
Comment 139•6 years ago
|
||
Comment 140•6 years ago
|
||
Updated•6 years ago
|
Assignee | ||
Comment 141•6 years ago
|
||
Comment 142•5 years ago
|
||
Ben Basson, is this holding up Context Search any longer?
Comment 143•4 years ago
|
||
I created a Context Search (https://addons.mozilla.org/en-US/firefox/addon/contextual-search/) extension to replace Ben Basson's excellent extension which was no longer available with the implementation of the new Web extension API. I've been receiving very bad reviews b/c I don't offer users the possibility to import the search engines they already have in Firefox to Context Search. I'm not able to do so b/c Mozilla doesn't give me access to the search query string url. I'm not handling POST requests b/c I don't know how this can be done, as each search engine has different data I believe.
Anyway, to summarize: Context Search would be greatly improved if we had access to the search query string url of search engines in Firefox through the Search API.
Assignee | ||
Comment 144•4 years ago
|
||
You shouldn't need the query string because you can just execute .search using the engine.
Comment 145•4 years ago
|
||
(In reply to Olivier de Broqueville from comment #143)
I I'm not able to do so b/c Mozilla doesn't give me access to the search query string url.
As long as you required search
, <all_urls>
, webRequest
, and, webRequestBlocking
permissions, you can trigger a search, block the request, and know how the URL / Post body works. (finally remember to cancel it.) I know its an ugly solution. But it should work. (I had not tested this.)
(In reply to Mike Kaply [:mkaply] from comment #144)
You shouldn't need the query string because you can just execute .search using the engine.
- Such limitation is meaningless. As there would always be a walk around. It only making developers requiring more unnecessary permissions to make it work.
- It could be useful. Olivier de Broqueville had provided a use case where they want import this settings to their extension. So user may maintain two different searching list.
Comment 146•4 years ago
|
||
I'm not the only add-on dev needing this. The following 2 extensions adopt a very un-elegant way (and not so secure I guess) to import Firefox search engines by accessing the mozlz4 file from a user's Firefox profile.
- https://github.com/ssborbis/ContextSearch-web-ext
- https://github.com/CanisLupus/swift-selection-search/issues/176
In the Options page of our extensions, we list search engines along with the search query string url that can be customised by the user. This gives the user the most flexibility to meet his or her needs.
Not being able to import search query string urls would force add-on devs to implement 2 different ways of handling search engines, which in my view is a mess and would be confusing to the user. A bit of effort to understand devs views would be nice! It shouldn't be asking for so much to make a query url property available in addition to the existing properties (name, isDefault, alias and FavIconUrl) when the HTTP request method is GET.
Assignee | ||
Comment 147•4 years ago
|
||
Please open a new bug for your request.
Comment 148•4 years ago
•
|
||
(In reply to Mike Kaply [:mkaply] from comment #147)
Please open a new bug for your request.
I have opened bug 1643772
Thank you.
Comment 149•4 years ago
|
||
Perhaps now is a good time to just add this very useful code into Firefox itself once and for all. Olivier, I hope you consider this avenue. I used to use Context Search a LOT before Mozilla broke it.
Updated•4 years ago
|
Assignee | ||
Comment 150•4 years ago
|
||
Clearing NI. This bug is closed.
Comment 151•4 years ago
|
||
I have created a new bug to address what was left out in this bug.
Description
•