Manipulate address bar via Javascript (Same origin policy)

radkappe

Registered Member
Joined
Jul 17, 2010
Messages
61
Reaction score
4
Hey,

I am looking for a solution for this for ages now.

Is it possible to manipulate the address bar via Javascript? I read a lot of the same origin policy and stuff but there must be something I am missing.
I am asking you guys since there are so many moral officers on other forums and I'm kind of sick of that.

Any help would be appreciated.

Cheers
 
You can only use HTML5 push state to alter the path part of the url or change the window.location.hash.

Chaning the domain name is not possible and is blocked by web browsers as this poses a major security risk - Imagine people changing the url to: yourbank domain
 
Back
Top