Browser enforces meta script-src and blocks external execution
Standard retail browsers honor <meta> Content Security Policy rules and block the unauthorized external script from firing onload.
Appends a restrictive <meta> script-src Content Security Policy tag and verifies whether an unauthorized third-party test script still executes unexpectedly.
The browser check inserts a <meta http-equiv="Content-Security-Policy"> element defining a script-src restriction (without altering server HTTP CSP headers) and attempts to load an external test script with a 5,000 ms timeout.
If the disallowed external script fires onload while no ad blocker is interfering with third-party requests, the check records a CSP-enforcement failure.
Stealth browser drivers launched with DevTools CSP bypass enabled (such as bypassCSP: true or Page.setBypassCSP) silently disable Content Security Policy enforcement so injected automation scripts can execute freely.
Accounting for active ad blockers and evaluating this gently alongside human interaction protects legitimate visitors whose network proxies or privacy extensions alter third-party resource loading.
Standard retail browsers honor <meta> Content Security Policy rules and block the unauthorized external script from firing onload.
Headless runners configured to bypass CSP ignore <meta> script-src constraints and execute the blocked external script anyway.
Forensic significance: Lightweight supporting indicator of DevTools CSP-bypass configuration; cleared by verified human interaction and excluded when ad blockers interfere.