botrefund.com
← BotRefund Home DOM INTEGRITY & TAMPERING

Link Target Attribute Changed

BotRefund attaches a MutationObserver to anchor links configured with target="_blank" and flags scripts that strip or alter the attribute mid-session.

What we test

At page initialization, the collector locates existing a[target="_blank"] links and attaches a MutationObserver watching changes to the target attribute while recording the previous attribute value.

Whenever a monitored anchor originally configured with target="_blank" has its target attribute removed or rewritten to another value (such as _self), the session records a link-target DOM tampering event.

Why it matters

Single-tab headless scrapers and automated click harnesses frequently run global DOM scripts that strip target="_blank" from links so simulated clicks stay inside the controlled browser tab instead of spawning new tabs.

Human visitors never mutate link target attributes dynamically while browsing. Only single-page application routers or specialized accessibility extensions rewriting already-mounted links could inadvertently modify _blank, so verified human interaction helps balance the assessment.

EXPLANATION

How to interpret the response

01 EXPECTED RESPONSE

External link attributes remain unchanged

Standard pages keep target="_blank" intact across monitored anchor elements throughout the visitor session.

Example result Monitored target="_blank" links: 6 • Mutations stripping _blank: 0 — Result: link attributes intact
02 POSSIBLE AUTOMATION SIGNAL

Script strips or rewrites target="_blank"

An automation script removes target or changes it from _blank to keep navigation trapped inside a single controlled tab.

Example result Monitored target="_blank" links: 6 • Attribute changed from "_blank" to removed: 1 — Result: DOM link-target tampering detected

Forensic significance: Active DOM-tampering indicator catching forced single-tab navigation hooks; evaluated alongside verified human interaction telemetry.