Suppose I have a link to Google of the form
<a href="https://www.google.com" target="_blank">Google</a>
There are a couple different ways to open this link in a new tab:
- Left click on the link
- Right click on the link and select
Open Link in New Tab
I've noticed on an app I work on that there is different behavior between #1 and #2. For example, when I console out window.opener for #1 I get an object like
wheres #2 gives me undefined.
What are the differences between these two ways to open the link? I can't find any information about how a browser (in my case, Chrome), might handle these cases.
