Add Google I'm Feeling Lucky completion

Same as Google completion, but results are passed with the I'm Feeling Lucky flag
This commit is contained in:
Maddison Hellstrom 2017-10-30 21:18:29 -07:00
parent 11753e3484
commit f2affe3a04
1 changed files with 8 additions and 0 deletions

View File

@ -642,6 +642,14 @@ var search = [
Omnibar.listWords(JSON.parse(response.text)[1]);
}
},
{ alias: 'gl'
, name: 'google-lucky'
, search: 'https://www.google.com/search?btnI=1&q='
, compl: 'https://www.google.com/complete/search?client=chrome-omni&gs_ri=chrome-ext&oit=1&cp=1&pgcl=7&q='
, callback: function(response) {
Omnibar.listWords(JSON.parse(response.text)[1]);
}
},
{ alias: 'gs'
, name: 'go-search'
, search: 'http://go-search.org/search?q='