无可疑的加载后选择器扫描或金丝雀调用
When neither the canary hook nor unexpected document.getElementsByClassName calls fire after instrumentation—or when natural visitor interaction confirms genuine browsing—no concern is raised.
BotRefund 在页面 window 对象上暴露一个轻量级金丝雀函数,并统计加载后对 document.getElementsByClassName 的调用次数,以捕获在主 JavaScript 上下文中运行的 DOM 抓取脚本。
After page initialization, the browser probe attaches a passive canary hook to window and wraps document.getElementsByClassName to count how many times scripts query page elements by CSS class name.
如果加载后的类选择器计数超过零,或外部脚本调用金丝雀函数,会话将记录主世界执行活动以供审查。
Headless browser evaluators, injected content scripts, and automated DOM scrapers scanning page structure by class name or probing global window functions trigger these counters during automated extraction.
Because legitimate first-party site scripts, analytics bundles, and interactive UI widgets also invoke document.getElementsByClassName routinely, this signal is treated strictly as supporting context and set aside once genuine human interaction is observed.
When neither the canary hook nor unexpected document.getElementsByClassName calls fire after instrumentation—or when natural visitor interaction confirms genuine browsing—no concern is raised.
Automated scrapers scanning DOM class names or calling exposed window functions generate elevated main-world script activity, prompting closer review when unaccompanied by human interaction.
Forensic significance: Evaluated strictly as supporting context alongside behavioral signals; benign first-party scripts using document.getElementsByClassName are cleared once genuine human interaction appears.