Skip to content

크롬 확장 options.html js 분리 필요 #166

@crucifyer

Description

@crucifyer

현상

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 안에서 완전히 없어야 합니다.

멋진 것 만들어주셔서 감사합니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions