Remove browser action.

This commit is contained in:
Colin Caine 2017-03-01 02:22:53 +00:00
parent 584d94c702
commit 0165add373
2 changed files with 0 additions and 18 deletions

View file

@ -8,11 +8,6 @@
"scripts": ["main.js"]
},
"browser_action": {
"default_title": "Tridactyl",
"browser_style": true
},
"content_scripts": [
{
"matches":["<all_urls>"],

View file

@ -63,19 +63,6 @@ The following functions all talk to the content.js script to perform functions t
sendMessageToActiveTab({command:"arbitrary",object,args})
# example: doArbitraryCodeInWindow("scrollBy",[0,100])
## Listener test
tridactyl.func.handleBrowserAction = handleBrowserAction = () ->
# .then takes a function that consumes at least one argument. this is an
# example of a named function, but anonymous functions are fine, too.
x = await browser.tabs.query({active: true}).then(console.log)
# Example of a listener. Presumably we wouldn't use the browserAction button in
# the real thing.
browser.browserAction.onClicked.addListener(handleBrowserAction)
## Regex test
Adapted from http://www.dustindiaz.com/autocomplete-fuzzy-matching