I am wanting to make a simple chrome extension. It is very simple Javascript. Here is the Javascript:
function popup(){
alert("Hello");
}
And here is the HTML:
<button onclick = "popup()">Click me!</button>
It is very embarrassing that this does not work. Here is the error I get:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem:". Either the 'unsafe-inline' keyword, a hash ('sha256-jl7zkecItBHATwzPa5aa7MfGZ7nKUEQQCaXwXyPlRI4='), or a nonce ('nonce-...') is required to enable inline execution.
Please help very frustrated.