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

后端 未结 7 1872
梦谈多话
梦谈多话 2020-11-27 15:33

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 normall

相关标签:
7条回答
  • 2020-11-27 16:30

    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.

    0 讨论(0)
提交回复
热议问题