It is nice to see some activity on the forums, but I think I'll be the one to cautiously advise that perhaps you should do some basic revision on the fundamentals.
For instance, look at how (d)HTML itself actually works.
I can think of loads of ways to do what you ask, but you really should look into the basics. As BatVink graciously suggests, the clue is in the name.
If you want a game to change the URL of the current page (I presume redirect the entire game frame elsewhere) then look at location.href() but not in AGK.. use the medium itself.
If you are going to publish games in browsers, then look into Javascript and try coding a few things from hand to see how it works then you will be in total control of your situation.