How to modify the URL in the runtime window? #6327
Answered
by
FabianLars
InfernalAzazel
asked this question in
Q&A
-
let main_window =app.get_window("main").unwrap(); |
Beta Was this translation helpful? Give feedback.
Answered by
FabianLars
Feb 20, 2023
Replies: 1 comment 3 replies
-
something like this let main_window =app.get_window("main").unwrap();
let _ = main_window.eval("window.location.replace('https://google.com')"); At some point there will exist an actual API for that. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
FabianLars
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
something like this
At some point there will exist an actual API for that.