Rectangle 27 0

java just add url on only address bar of browser?


NOTE : window.history.pushState('abc', "Title", "/new-url");
window.history.pushState('abc', "Title", "/new-url");

Have a read here.

Note
Rectangle 27 0

java just add url on only address bar of browser?


Can't be done. This is a security feature to make it harder to spoof a site (e.g. for phishing attacks)

The domain can't be changed. The rest of the URL can. Thus no possibility of spoofing.

Note
Rectangle 27 0

java just add url on only address bar of browser?


NOTE : window.history.pushState('abc', "Title", "/new-url");
window.history.pushState('abc', "Title", "/new-url");

Have a read here.

Note
Rectangle 27 0

java just add url on only address bar of browser?


Can't be done. This is a security feature to make it harder to spoof a site (e.g. for phishing attacks)

The domain can't be changed. The rest of the URL can. Thus no possibility of spoofing.

Note