benbasson/contextsearch

Rewrite Context Search with WebExtensions APIs

benbasson opened this issue · 9 comments

Mozilla have announced plans to phase out all non-WebExtension add-ons by the end of 2017. While I consider this decision to be utterly insane (and half expect them to end up extending that deadline, if they have any users left to appease at that point), it's safe to assume that this add-on will have to be rewritten or will cease to exist at the end of 2017 or shortly after.

Context menu APIs are present (although very primitive) and APIs for search plugins are seemingly absent at the moment. If and when these come along, a rewrite will be more viable.

Current blockers in the WebExtensions API:

Triaged and approved non-blockers that would make for a better user experience (likely to be worked on and implemented):

Untriaged non-blockers that would make for a better user experience:

WONTFIX'd by Mozilla:

If it's possible, you should also consider rearranging the search engines from a list view to a square view, like in this add-on.

It's much easier to handle a lot of search engines that way.

It seems to me that a resolution to Bug 1352598 - Add an API to list installed search engines (a pure read-only API) would unblock Bug 1268401.

Oh - and I just saw that Bug 1302742 is already resolved.

So, is this going to be converted into a WebExtension?

Thanks.

gcp commented

It can't be converted as long as bug 1268401 or bug 1352598 aren't fixed, AFAIK.

1268401 isn't really necessary (now that 1352598 has been split out), but 1352598 is 100% required or this add-on isn't going to be able to do much apart from add an empty submenu.

I've updated the issue to reflect the bugs that have been resolved.

Well neither Bug 1268401 nor Bug 1352598 is going to be resolved for Firefox 57, so I guess this port isn't happening any time soon. Clearly 2 years wasn't enough to get that API added to WebExtensions.

I'm not doing any more work on this until I get an email regarding one or both of those bugs being resolved. Until then, feel free to lobby Mozilla for that because I'm done with them for now.

As an alternative, the Context Search WebExtension extension uses bookmarks presents into a specific bookmark folder. It's a nice idea, because these are synced between devices through Mozilla Sync.

Well I could do that, but seeing as someone else has already done it I don't really see the point. This add-on was always about using the in-built search engines, without that, it is nothing.