How to get browser URL in game html5

I want to get url of game and how to do? I saw a result topic in forum but it so long time ago. I want to know some way in new engine version

It is likely that it is still the correct answer. I suppose it was something like:

local url = html5.run("window.location")
1 Like

yes, i founded your result in a topic is: html5.run(“location.href”) . But it so long time ago

Sure, it might be a long time ago, but we only very rarely remove, break or change existing behaviour. If something worked a few years ago chances are that they still work.

2 Likes