Alex Rivera | Logout

Is it possible to detect if a user has opened a link in a new tab?

Asked 2009-05-11T21:00:46.190
38

If a user is on your website and opens another link (also to your website) in a new tab, is it possible to differentiate this from the user just clicking on the link normally? This can be in javascript, on the server, whatever.

I'm guessing that the answer is that you cannot do this, but I wanted to double check.

Edit
Report

1 Answer

3

The short answer is, no. The long answer is, if you are doing an ajaxy call from your pages to server-side methods, that could keep ttrack of the windows open (called within a short timeframe). It would be a sloppy, unreliable mess, and you couldn't differentiate between a new window or a tab for that matter.

answered 2009-05-11T21:06:20.627

Your Answer