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
Post a Comment