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

Commit

Permalink
Add search shortcuts for MDN, SO and GH
Browse files Browse the repository at this point in the history
Fix #4213

Auditors: @bridiver

Please merge when you add the slash prefix
  • Loading branch information
bbondy committed Sep 23, 2016
1 parent a507ccd commit 204e5d8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions js/data/searchProviders.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,31 @@ module.exports = { "providers" :
"autocomplete" : "https://ac.duckduckgo.com/ac/?q={searchTerms}&type=list",
"shortcut" : "d"
},
{
"name" : "GitHub",
"image" : "https://assets-cdn.github.com/favicon.ico",
"search" : "https://github.com/search?q={searchTerms}",
"shortcut" : "gh"
},
{
"name" : "Google",
"image" : "https://www.google.com/favicon.ico",
"search" : "https://www.google.com/search?q={searchTerms}",
"autocomplete" : "https://suggestqueries.google.com/complete/search?client=chrome&q={searchTerms}",
"shortcut" : "g"
},
{
"name" : "Stack Overflow",
"image" : "https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico",
"search" : "https://stackoverflow.com/search?q={searchTerms}",
"shortcut" : "s"
},
{
"name" : "Mozilla Developer Network (MDN)",
"image" : "https://developer.cdn.mozilla.net/static/img/favicon32.png",
"search" : "https://developer.mozilla.org/search?q={searchTerms}",
"shortcut" : "m"
},
{
"name" : "Twitter",
"image" : "https://twitter.com/favicon.ico",
Expand Down

0 comments on commit 204e5d8

Please sign in to comment.