현상
Executing inline script violates the following Content Security Policy directive 'script-src 'self' 'wasm-unsafe-eval''. Either the 'unsafe-inline' keyword, a hash ('sha256-C6OAc6kEfGUYWNOuOWdulmKGopq3nn1OTp1qW0NyvyQ='), or a nonce ('nonce-...') is required to enable inline execution. The action has been blocked.
옵션 창의 스크립트가 전혀 동작하지 않습니다.
js 파일로 분리하고 script src 로 불러오면 해결됩니다.
왜인지는 모르겠지만 script 코드 자체는 html 안에서 완전히 없어야 합니다.
멋진 것 만들어주셔서 감사합니다.
현상
옵션 창의 스크립트가 전혀 동작하지 않습니다.
js 파일로 분리하고 script src 로 불러오면 해결됩니다.
왜인지는 모르겠지만 script 코드 자체는 html 안에서 완전히 없어야 합니다.
멋진 것 만들어주셔서 감사합니다.