-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
229 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,106 @@ | ||
var COMMANDS = [ | ||
{ command: 'g', | ||
url: 'https://www.google.com', | ||
search: '/search?q=', | ||
'help-command': 'g (;<query>)', | ||
'help-desc': 'Google', | ||
'options-text': 'Search Google' | ||
{ | ||
"command": "g", | ||
"url": "https://www.google.com", | ||
"search": "/search?q=", | ||
"help-command": "g (;<query>)", | ||
"help-desc": "Google", | ||
"options-text": "Search Google" | ||
}, | ||
{ command: 'dg', | ||
url: 'https://duckduckgo.com', | ||
search: '/?q=', | ||
'help-command': 'dg (;<query>)', | ||
'help-desc': 'DuckDuckGo', | ||
'options-text': 'Search DuckDuckGo' | ||
{ | ||
"command": "dg", | ||
"url": "https://duckduckgo.com", | ||
"search": "/?q=", | ||
"help-command": "dg (;<query>)", | ||
"help-desc": "DuckDuckGo", | ||
"options-text": "Search DuckDuckGo" | ||
}, | ||
{ command: 'r', | ||
url: 'https://www.reddit.com', | ||
search: '/r/', | ||
'help-command': 'r (;<subreddit>)', | ||
'help-desc': 'Reddit', | ||
'options-text': 'Go to subreddit' | ||
{ | ||
"command": "r", | ||
"url": "https://www.reddit.com", | ||
"search": "/r/", | ||
"help-command": "r (;<subreddit>)", | ||
"help-desc": "Reddit", | ||
"options-text": "Go to subreddit" | ||
}, | ||
{ command: 'y', | ||
url: 'https://www.youtube.com', | ||
search: '/results?search_query=', | ||
'help-command': 'y (;<query>)', | ||
'help-desc': 'YouTube', | ||
'options-text': 'Search YouTube' | ||
{ | ||
"command": "y", | ||
"url": "https://www.youtube.com", | ||
"search": "/results?search_query=", | ||
"help-command": "y (;<query>)", | ||
"help-desc": "YouTube", | ||
"options-text": "Search YouTube" | ||
}, | ||
{ command: 'a', | ||
url: 'https://smile.amazon.com', | ||
search: '/s/?field-keywords=', | ||
'help-command': 'a (;<query>)', | ||
'help-desc': 'Amazon', | ||
'options-text': 'Search Amazon' | ||
{ | ||
"command": "a", | ||
"url": "https://smile.amazon.com", | ||
"search": "/s/?field-keywords=", | ||
"help-command": "a (;<query>)", | ||
"help-desc": "Amazon", | ||
"options-text": "Search Amazon" | ||
}, | ||
{ command: 'w', | ||
url: 'https://www.wikipedia.org', | ||
search: '/w/index.php?title=Special:Search&search=', | ||
'help-command': 'w (;<query>)', | ||
'help-desc': 'Wikipedia', | ||
'options-text': 'Search Wikipedia' | ||
{ | ||
"command": "w", | ||
"url": "https://www.wikipedia.org", | ||
"search": "/w/index.php?title=Special:Search&search=", | ||
"help-command": "w (;<query>)", | ||
"help-desc": "Wikipedia", | ||
"options-text": "Search Wikipedia" | ||
}, | ||
{ command: 'wa', | ||
url: 'https://www.wolframalpha.com', | ||
search: '/input/?i=', | ||
'help-command': 'wa (;<query>)', | ||
'help-desc': 'Wolfram Alpha', | ||
'options-text': 'Search Wolfram Alpha' | ||
{ | ||
"command": "wa", | ||
"url": "https://www.wolframalpha.com", | ||
"search": "/input/?i=", | ||
"help-command": "wa (;<query>)", | ||
"help-desc": "Wolfram Alpha", | ||
"options-text": "Search Wolfram Alpha" | ||
}, | ||
{ command: 'imdb', | ||
url: 'https://www.imdb.com', | ||
search: '/find?s=all&q=', | ||
'help-command': 'imdb (;<query>)', | ||
'help-desc': 'Internet Movie Database', | ||
'options-text': 'Search Internet Movie Database' | ||
{ | ||
"command": "imdb", | ||
"url": "https://www.imdb.com", | ||
"search": "/find?s=all&q=", | ||
"help-command": "imdb (;<query>)", | ||
"help-desc": "Internet Movie Database", | ||
"options-text": "Search Internet Movie Database" | ||
}, | ||
{ command: 'n', | ||
url: 'https://www.netflix.com', | ||
search: '/search?q=', | ||
'help-command': 'n (;<query>)', | ||
'help-desc': 'Netflix', | ||
'options-text': 'Search Netflix' | ||
{ | ||
"command": "n", | ||
"url": "https://www.netflix.com", | ||
"search": "/search?q=", | ||
"help-command": "n (;<query>)", | ||
"help-desc": "Netflix", | ||
"options-text": "Search Netflix" | ||
}, | ||
{ command: 'gm', | ||
url: 'https://www.google.com', | ||
search: '/maps?q=', | ||
'help-command': 'gm (;<query>)', | ||
'help-desc': 'Google Maps', | ||
'options-text': 'Search Google Maps' | ||
{ | ||
"command": "gm", | ||
"url": "https://www.google.com", | ||
"search": "/maps?q=", | ||
"help-command": "gm (;<query>)", | ||
"help-desc": "Google Maps", | ||
"options-text": "Search Google Maps" | ||
}, | ||
{ command: 'i', | ||
url: 'https://inbox.google.com', | ||
search: '/search/', | ||
'help-command': 'i (;<query>)', | ||
'help-desc': 'Google Inbox', | ||
'options-text': 'Search Google Inbox' | ||
{ | ||
"command": "i", | ||
"url": "https://inbox.google.com", | ||
"search": "/search/", | ||
"help-command": "i (;<query>)", | ||
"help-desc": "Google Inbox", | ||
"options-text": "Search Google Inbox" | ||
}, | ||
{ command: 'img', | ||
url: 'https://www.google.com', | ||
search: '/search?tbm=isch&q=', | ||
'help-command': 'img (;<query>)', | ||
'help-desc': 'Google Images', | ||
'options-text': 'Search Google Images' | ||
{ | ||
"command": "img", | ||
"url": "https://www.google.com", | ||
"search": "/search?tbm=isch&q=", | ||
"help-command": "img (;<query>)", | ||
"help-desc": "Google Images", | ||
"options-text": "Search Google Images" | ||
}, | ||
{ command: 'k', | ||
url: 'https://keep.google.com', | ||
search: '/#search/text=', | ||
'help-command': 'k (;<query>)', | ||
'help-desc': 'Google Keep', | ||
'options-text': 'Search Google Keep' | ||
{ | ||
"command": "k", | ||
"url": "https://keep.google.com", | ||
"search": "/#search/text=", | ||
"help-command": "k (;<query>)", | ||
"help-desc": "Google Keep", | ||
"options-text": "Search Google Keep" | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.