From 1d2773cbf4c15fd5b1384f7bd993edb63a460c3a Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 28 Jan 2019 01:59:42 -0500 Subject: use React; impl the prototype --- public/background.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 public/background.js (limited to 'public/background.js') 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'}); +}); -- cgit v1.2.3