<< Back to Warzone Classic Forum   Search

Posts 1 - 4 of 4   
feature request: show game url in address bar: 2014-01-26 18:31:09

(deleted)
Level 57
Report
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. :)

Edited 1/26/2014 19:20:44
feature request: show game url in address bar: 2014-01-26 21:28:36


Pushover 
Level 59
Report
Oooh, ain't this a clever hack.
feature request: show game url in address bar: 2014-01-27 01:55:14

Hennns
Level 60
Report
+1
feature request: show game url in address bar: 2014-01-27 14:47:42


Taishō 
Level 57
Report
Nice, considering my lousy internet connection, this would be useful for RT games.
Posts 1 - 4 of 4