I am working on a chrome extension and it does work locally but it gives the following error when launched as a chrome extension:
Refused to execute inline ev