Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add findx as a Search Provider #10432

Closed
jonathansampson opened this issue Aug 11, 2017 · 0 comments
Closed

Add findx as a Search Provider #10432

jonathansampson opened this issue Aug 11, 2017 · 0 comments

Comments

@jonathansampson
Copy link
Collaborator

jonathansampson commented Aug 11, 2017

Test plan

Make sure findx can be found on the preferences page and :fx works


It has been requested that we add support for the findx search engine.

{
  "name": "findx",
  "base": "https://www.findx.com",
  "image": "https://www.findx.com/favicon.ico",
  "search": "https://www.findx.com/search?q={searchTerms}&type=web",
  "autocomplete": "https://www.findx.com/api/web-search/suggestions/?q={searchTerms}",
  "shortcut": ":fx"
}

The autocomplete list has the following structure:

[
  { "phrase": "bravenewworldtgp.com", "score": 61 },
  { "phrase": "braves", "score": 35 },
  { "phrase": "brave new world", "score": 21 },
  { "phrase": "braveheart", "score": 19 },
  { "phrase": "bravenet", "score": 16 },
  { "phrase": "bravenet.com", "score": 15 },
  { "phrase": "braves baseball", "score": 14 },
  { "phrase": "braves tickets", "score": 11 },
  { "phrase": "braves.com", "score": 8 },
  { "phrase": "bravedial.net", "score": 5 },
  { "phrase": "braves baseball schedule", "score": 5 },
  { "phrase": "bravehost", "score": 5 },
  { "phrase": "bravetti", "score": 5 },
  { "phrase": "brave heart", "score": 4 },
  { "phrase": "brave new world surf shop", "score": 4 },
  { "phrase": "braves schedule", "score": 4 },
  { "phrase": "brave new world nj", "score": 4 },
  { "phrase": "braveheart american bulldogs", "score": 3 },
  { "phrase": "braves spring training", "score": 3 },
  { "phrase": "bravegirls", "score": 3 },
  { "phrase": "bravedeal.net", "score": 3 }
]

Requires modification to browser-laptop/js/data/searchProviders.js

@jonathansampson jonathansampson added this to the 0.21.x (Nightly Channel) milestone Aug 11, 2017
kjozwiak added a commit that referenced this issue Aug 16, 2017
dfperry5 pushed a commit to dfperry5/browser-laptop that referenced this issue Aug 18, 2017
@bbondy bbondy modified the milestones: 0.21.x (Developer Channel), 0.20.x (Beta Channel) Oct 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.