diff --git a/src/extension/popup.html b/src/extension/popup.html index b28b4e7..b57bb19 100644 --- a/src/extension/popup.html +++ b/src/extension/popup.html @@ -1 +1,13 @@ + + +
+ + + + + + + + + diff --git a/src/extension/popup.js b/src/extension/popup.js index cfb7565..4d138c0 100644 --- a/src/extension/popup.js +++ b/src/extension/popup.js @@ -1,2 +1,5 @@ const bs = chrome || browser -window.open(bs.runtime.getURL('./index.html')) +bs.tabs.create({ + url: bs.runtime.getURL('./index.html') +}, tab => console.log(tab)) +