Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why doesn't AMP change the URL bar itself? I don't see a reason why it can't utilize the browser history API and attribute the correct URL page view, considering Google is probably doing your analytics too.


The history API can only change the path, you can't change the entire hostname with it, that would open too many doors to phishing if that was possible.


Because the ability to have one website claim to be another site entirely in the URL bar seems like a phisher's wet dream?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: