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

Load html directly #453

Closed
LansV opened this issue Oct 22, 2023 · 4 comments
Closed

Load html directly #453

LansV opened this issue Oct 22, 2023 · 4 comments
Labels
enhancement Enhancement request

Comments

@LansV
Copy link

LansV commented Oct 22, 2023

Hello,
I want to load the directly generated html text directly in the browser instead of using loadUrl()

@LansV LansV added the enhancement Enhancement request label Oct 22, 2023
@JScheiterbauer
Copy link

Hi!
You can use data urls for this: See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs
Only thing is they have length limitation.
If this is getting a problem, you can also write it to the file system and load it via file:// url

@LansV
Copy link
Author

LansV commented Oct 23, 2023

Thank you for your answer
It would be great if there is native method support

@JScheiterbauer
Copy link

This was available once but then removed (don't know why...)

@magreenblatt
Copy link
Collaborator

This is not supported by Chromium. See chromiumembedded/cef#2586

@magreenblatt magreenblatt closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request
Projects
None yet
Development

No branches or pull requests

3 participants