OS.shell_open BUT to redirect site in HTML5

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By trepaning
func _on_Exit_pressed():

the above is a button that, when pressed, opens a website in a browser, then closes the game EXE.

When in HTML5, this does not exit the game page, it simply opens another tab in the browser. What is used to redirect the HTML5 game page to another page?

:bust_in_silhouette: Reply From: Dlean Jeans

Try this:


Thank you very much, works exactly as i was wanting.

trepaning | 2019-05-16 17:12