show game url in address bar
It would be great if the actual game url was displayed in the browser's address bar. That way if someone has to reload because of connection (or some other issues) they automatically get to the active game.
It wouldn't be hard to implement using the HTML5 history API, which is supported by all major browsers. (http://caniuse.com/#feat=history)
eg:
import flash.external.ExternalInterface;
ExternalInterface.call("history.pushState({},'',"+game_url+")");
on loading a new game.
(One could even listen to the popstate event and make the browser's back button work properly. :)
WarLight now shows the URL to the game in the address bar! Thanks for the suggestion.
-
Widzisz commented
This one is completed, I think.