@aj_nscFeb 20.2012 — #Not allowed (or do-able). Security risk is too great. Think about it - what if everyone could change the URL in the address bar to something different that the page the user is actually seeing? You might think you're on paypal but you could actually be on an attacker's site.
It didn't work because control seemed to be completely handed over to the redirected page. It seemed that the browser didn't even get to interpret pushState. I followed the directions for setting up pushState rather carefully... (basically one could see the redirected URL in the address bar)
Do you think it should work nevertheless? Have you any example of pushState in action somewhere?
@rnd_meFeb 24.2012 — #I think I read somewhere that pushState only works on the same domain?
If so, it would be useless for my purposes (even though I control all domains)
(same with location.hash)
Does anyone know?[/QUOTE]
yes, same-domain only.
i'm not sure what you're trying to accomplish, but if you control both domains, there's no reason you can't mash them up together on the server or the client.