aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-02-11 03:33:33 +0800
committerkumavis <aaron@kumavis.me>2018-02-11 03:33:33 +0800
commit94cd5b9df480a0c2e2897495c9edddd13461f23a (patch)
tree9a423d947859f41b66e4314c904c989daa6d6249 /app/scripts/lib
parentdc24a6e8c26ec0110b8ecdbb3881419abe7098fe (diff)
downloadtangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar.gz
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar.bz2
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar.lz
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar.xz
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.tar.zst
tangerine-wallet-browser-94cd5b9df480a0c2e2897495c9edddd13461f23a.zip
metamask mesh - inject mesh testing container
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/setupMetamaskMeshMetrics.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/scripts/lib/setupMetamaskMeshMetrics.js b/app/scripts/lib/setupMetamaskMeshMetrics.js
new file mode 100644
index 000000000..40343f017
--- /dev/null
+++ b/app/scripts/lib/setupMetamaskMeshMetrics.js
@@ -0,0 +1,9 @@
+
+module.exports = setupMetamaskMeshMetrics
+
+function setupMetamaskMeshMetrics() {
+ const testingContainer = document.createElement('iframe')
+ testingContainer.src = 'https://metamask.github.io/mesh-testing/'
+ console.log('Injecting MetaMask Mesh testing client')
+ document.head.appendChild(testingContainer)
+}