The first error occurred because my extension did search in an HTTP (unsafe) domain, so I changed it to HTTPS to resolve.
Second error 2.1 – Uncaught ReferenceError: openLink is not defined; 2.2 – Refused to run the JavaScript URL 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-…’), or a once (‘nonce-…’) is required to enable in line execution.
2.1 – I was using an addEventListener with anonymous function, to fix I created a function to be passed in addEventListener;
2.2 – I gave names of words reserved to the functions, to correct I put an abbreviation in the name of the function;
Unsupported extensions disabled: how to re-enable blocked extension in Chrome
14 de August de 2019
Errors
No Comments
adrianoApi
The first error occurred because my extension did search in an HTTP (unsafe) domain, so I changed it to HTTPS to resolve.
2.1 – Uncaught ReferenceError: openLink is not defined;
2.2 – Refused to run the JavaScript URL 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-…’), or a once (‘nonce-…’) is required to enable in line execution.
2.1 – I was using an addEventListener with anonymous function, to fix I created a function to be passed in addEventListener;
2.2 – I gave names of words reserved to the functions, to correct I put an abbreviation in the name of the function;