aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/contentscript.js
blob: 30cf50ef917984c1a67ea9a0c4aa4231942bf27e (plain) (blame)
1
2
3
4
5
6
7
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)