aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/platforms/extension.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-25 08:32:20 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-25 08:32:20 +0800
commit74fd6d1d1227d7a9e49623b73ee85985d79a1e46 (patch)
tree0329696b64e9f300c05919729d87dbb0dbd99655 /app/scripts/platforms/extension.js
parentd5929e5c42e230fc0a52337f86b5850e68516563 (diff)
downloadtangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar.gz
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar.bz2
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar.lz
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar.xz
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.tar.zst
tangerine-wallet-browser-74fd6d1d1227d7a9e49623b73ee85985d79a1e46.zip
working without injection
Diffstat (limited to 'app/scripts/platforms/extension.js')
-rw-r--r--app/scripts/platforms/extension.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js
index 1cab0bedd..452a51bd8 100644
--- a/app/scripts/platforms/extension.js
+++ b/app/scripts/platforms/extension.js
@@ -36,12 +36,6 @@ class ExtensionPlatform {
extension.runtime.onMessage.addListener(cb)
}
- sendMessageToActiveTab (message, query = {}) {
- extension.tabs.query(query, tabs => {
- const activeTab = tabs.filter(tab => tab.active)[0]
- extension.tabs.sendMessage(activeTab.id, message)
- })
- }
}
module.exports = ExtensionPlatform