aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/contentscript.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2015-08-01 09:38:02 +0800
committerkumavis <aaron@kumavis.me>2015-08-01 09:38:02 +0800
commit500a95a70492fc319ad1984da36773952a2086e6 (patch)
treef9e5f3752414c5f414379fe579d6714a48cdad1c /app/scripts/contentscript.js
downloadtangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.gz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.bz2
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.lz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.xz
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.tar.zst
tangerine-wallet-browser-500a95a70492fc319ad1984da36773952a2086e6.zip
init commit
Diffstat (limited to 'app/scripts/contentscript.js')
-rw-r--r--app/scripts/contentscript.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/scripts/contentscript.js b/app/scripts/contentscript.js
new file mode 100644
index 000000000..30cf50ef9
--- /dev/null
+++ b/app/scripts/contentscript.js
@@ -0,0 +1,8 @@
+console.log('\'Allo \'Allo! Content script')
+
+var scriptTag = document.createElement('script')
+// TODO: add "script.js" to web_accessible_resources in manifest.json
+scriptTag.src = chrome.extension.getURL('scripts/web3.js')
+
+// scriptTag.onload = function() { this.parentNode.removeChild(this) }
+;(document.head||document.documentElement).appendChild(scriptTag) \ No newline at end of file