Opener tab loses focus when foreground new tab opens
Standard left-clicks on target="_blank" links shift browser focus immediately to the newly opened tab, leaving post-click focus clear.
Checks whether clicks on target="_blank" links keep window focus and show sub-50 ms post-click events, noting a known background-tab self-trigger quirk.
When a visitor clicks an anchor link with target="_blank", a 300 ms observation window checks whether the opener tab lost focus and whether any follow-up events occurred within 50 ms of the click.
Important implementation caveat: because of a DOM listener-registration ordering quirk, clicking a target="_blank" link without blurring the active tab—such as middle-clicking or Cmd/Ctrl-clicking to open in a background tab—can self-record an immediate ~0 ms event right after the click.
Automated clickers that intercept or suppress new-tab navigation remain focused on the opener DOM and continue firing follow-up events within tens of milliseconds.
Understanding the ~0 ms self-recording quirk on middle-click or Cmd-click background tabs explains why this signal is treated carefully and never blocks a visitor on its own.
Standard left-clicks on target="_blank" links shift browser focus immediately to the newly opened tab, leaving post-click focus clear.
Automation suppressing new-tab focus—or human users middle-clicking or Cmd-clicking to open a background tab—keeps window focus and records an immediate event.
Forensic significance: Never treat this signal as standalone proof of automation; because middle-clicks and Cmd/Ctrl-clicks by genuine users hit the listener-ordering quirk, require strong corroborating bot evidence before penalizing a session.