I am working with a chrome app and I developed it as a normal web page. It includes several .js files and also calls some functions on click and on load.
<body onload="thisIsOnLoadFunction()">
<button class='btn btn-info btn-large icon-undo pull-right' onclick='cancelAll()'>
They are some of them. But it does not work as normally when I run it as an app.
in console it shows an error saying
Refused to execute inline event handler because it violates the following
Content Security Policy directive: "default-src 'self'
chrome-extension-resource:".
Note that 'script-src' was not explicitly set,
so 'default-src' is used as a fallback
How can I get that working.