Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

浏览器脚本 使用 opencc-asm.js.mem 的问题 #2

Open
polyproline opened this issue Nov 26, 2019 · 0 comments
Open

浏览器脚本 使用 opencc-asm.js.mem 的问题 #2

polyproline opened this issue Nov 26, 2019 · 0 comments

Comments

@polyproline
Copy link

问题

由于 wasm-opencc 中 DictSource 使用的是文件相对地址,所以在 浏览器脚本 执行捕获的是相对地址

可能的解决方案

  • 这需要改 base 标签但可能 扩散问题
  • 重定向请求 调用 调试器 发现 访问的不只 .mem 还有 dict 目录下的数据文件
  • DictSource 的参数修改 可让 浏览器脚本 将 .mem 数据传递进去

希望能回复 谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant