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

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

Ansible warning on jinja2 braces on when -

html - How to custom Bootstrap grid height? -