javascript - Edit URL without refreshing the page -


i want change url without refreshing page. initial url is

data:text/html,http://arget.com 

i want change

http://arget.com  

i want remove data:text/html, in url without refreshing page

you can't. the history api allows modify parts of url displayed in address bar, won't let touch origin (i.e. since content came url , not arget.com's servers, there no way make browser claim came arget.com's servers). make things easy phishing attackers.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -