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

got various warnings when using rasterizehtml.js #224

Open
kangaroolab opened this issue Nov 11, 2024 · 1 comment
Open

got various warnings when using rasterizehtml.js #224

kangaroolab opened this issue Nov 11, 2024 · 1 comment

Comments

@kangaroolab
Copy link

kangaroolab commented Nov 11, 2024

files used: https://cdnjs.cloudflare.com/ajax/libs/rasterizehtml/1.3.1/rasterizeHTML.allinone.min.js

got followings in devtools console:

Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.
Blocked script execution in '' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

is there any way to avoid this? thanks!

@cburgmer
Copy link
Owner

This should not be considered a bug in the implementation. It might be possible with additional handling (read: implementing code to do that) to avoid those warnings, with no improvement in security and no change on the outcome of the rendering process. So I'm not sure what value that would provide.

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

2 participants