diff options
init commit
Diffstat (limited to 'app/scripts/contentscript.js')
-rw-r--r-- | app/scripts/contentscript.js | 8 |
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 |