Skip to content

[Bug] tesseract-core-simd.wasm.js is hosted on an external website #1773

Open
@phly95

Description

@phly95

Please search before asking

  • I searched in the issues and found nothing similar.

Please read README

  • I have read the troubleshooting section in the README in detail.

Please check your network and OpenAI API quota

  • I am sure it is not a network issue or an OpenAI API quota issue.

OpenAI Translator version

0.4.33

Model name

qwen/qwen3-14b

系统/浏览器版本 System/Browser version

Vivaldi 7.4.3684.43 (Stable channel) (64-bit)

复现步骤 Reproduce step

Inspect network traffic for the webpage
Select an image for OCR
The OCR javascript is obtained from https://unpkg.com/tesseract.js-core@v4.0.2/tesseract-core-simd.wasm.js

你看到了什么错误?What errors do you see?

Refused to load the script 'https://unpkg.com/tesseract.js@v4.0.2/dist/worker.min.js' because it violates the following Content Security Policy directive

你期望看到什么?What did you expect to see?

I expect the OCR model to be loaded locally from the extension itself instead of downloaded externally

还有其他的内容吗?Anything else?

No response

你是否愿意提交一份 PR 来修改这个错误?Are you willing to submit a PR?

  • 我愿意提供 PR! I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions