aboutsummaryrefslogtreecommitdiff
path: root/public/background.js
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-01-28 01:59:42 -0500
committerDeterminant <ted.sybil@gmail.com>2019-01-28 01:59:42 -0500
commit1d2773cbf4c15fd5b1384f7bd993edb63a460c3a (patch)
tree279aaa50a9f6189cd50bb6ad0207b93a44049929 /public/background.js
parent9eec5b0d0ca748a73abe23511688bbba9b906c22 (diff)
use React; impl the prototype
Diffstat (limited to 'public/background.js')
-rw-r--r--public/background.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/background.js b/public/background.js
new file mode 100644
index 0000000..76043c6
--- /dev/null
+++ b/public/background.js
@@ -0,0 +1,3 @@
+chrome.browserAction.onClicked.addListener(function() {
+ chrome.tabs.create({url: 'index.html'});
+});