Chrome extension refused to execute inline script.
Based on past research, I have seen that you have to make a connection between the HTML and you javascript file, done that still not worked.
popup.html-
<html>
<body>
<button type="button" id="fill">Fill</button><br>
<script src="popup.js"></script>
<body>
</html>
popup.js-
document.getElementById("fill") = Fill;
function Fill(){
document.getElementById("first_name").value = "somefirstname";
}
Full error message- Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem: chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-8AeKgC4PZyj0Lyp/7zt8lB898NYpYADMsfcJvqOwoDs='), or a nonce ('nonce-...') is required to enable inline execution.