Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Site warns when an external link is clicked

Why does it work only with the left mouse?



10:34 pm on Jun 29, 2010 (gmt 0)

5+ Year Member

Hello everyone !

I am curious about one thing.. and maybe you can enlight me on this:

I know a popular website which has external link warning message when you left click on a link that takes you away from that website... but on the same website and the same link if you click with your mouse wheel (firefox) or right click the link and then select open in new tab (internet explorer) the browser takes you to the specific link and the external link warning message doesn't even show up ! and I dont unterstand how this is possible.
Thank you for your time , have a nice day !


11:25 pm on Jun 29, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Possibly they are using a onclick JavaScript function to give you the warning. Onclick is not triggered when you right click or use your wheel.


1:56 am on Jun 30, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Hi ssantiago, welcome to WebmasterWorld!

Dijkgraaf probably pointed you in the right direction. If you still have questions about the technology behind this link warning, feel free to come back here and we'll try to help further.

Featured Threads

Hot Threads This Week

Hot Threads This Month