Hacker News new | past | comments | ask | show | jobs | submit login

hold on guys, can someone explain me what the browser is doing wrong here? I mean the source says it will take me to /utils/onclick.html which is exactly what the tooltip says as well. Please help me understand?

http://i.imgur.com/8PrfP.png




Click that link to /utils/onclick.html and then try clicking the link on the new page that says it will go to www.google.com


If you click that, it opens a demo with a link that's ostensibly to google, but actually goes somewhere else.


Thank you for your reply. I am still confused though. The tooltip clearly says frameless.org

http://i.imgur.com/9g56l.png


Did you already open the link before that screenshot?

The script the OP uses replaces the href, so once you click it, it'll reflect the true destination.

As others have mentioned, you can get around that by doing a redirect and cancelling the link action instead. Then it will always show the fake target.


It's a plain link to a demo page, not a demo link.


Just came here to ask the same thing, i cant see whats wrong with his test link, goes to where the on hover says. :s


The author phrased it strange. The proof of concept link isn't on the blog page, it's on the page it links to.


The tooltip is correct though

http://i.imgur.com/9g56l.png




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: