4 ms·
That's what's going on? I thought it was just a bug in Firefox Nightly or something. BTW a normal click also does the thing of opening the new link in the curr
by TD-Linux 12y ago
That's what's going on? I thought it was just a bug in Firefox Nightly or something.
BTW a normal click also does the thing of opening the new link in the current tab and spawning a new tab with the original page.
- delluminatus 12y agoIt's for Google Analytics tracking of links. The links in the page use Javascript: <a onclick="goTracked("link-external", "http://octopart.com/bb-bblk-000-circuitco+electronics-26478322");" class="external" href="#http://octopart.com/bb-bblk-000-circuitco+electronics-26478322" target="_blank">BeagleBone Black is readily available all over the world</a> then the Javascript function in question: function goTracked(action, link) { ga('send', 'event', 'exit', action, link); setTimeout('document.location = "' + link + '"', 100); } So, if you try to Cmd-Click a link to open it in a new tab (or middle-click, which is my preferred method), the target of the link is opened in a new tab. But the link's "href" target is just a fragment, so it opens the article in the new tab. 100 ms later, the current tab is redirected to the "actual" link target.