Closed 7flash closed 7 months ago
Based on webui.h
in line:
https://github.com/webui-dev/webui/blob/7c9f4040177b541ea4b343e4b6941c7592b5b0b9/include/webui.h#L205
You can actually set your URL http://...
, but it's your responsibility to put webui.js
on the UI.
Interesting.. any particular reason it's http and not https?
I guess you can use HTTPS, not sure, please test and let me know 👍
Yes, you can use HTTPS directedly. But you need to inject webui.js
...
myWindow.show('https://www.mydomain.com/')
Let's say in my usecase I am using WebUI to spawn my html app which needs to interact with another window running external app (instagram)
It would work well if showBrowser and show functions on WebUI could be extended to accept external URL as well currently html or local file
I understand there might be a challenge to insert webui.js into external app, but I am sure it's possible, at last it would be acceptable to install a browser extension injecting webui.js into it