同窗口通知权限状态一致
Authentic browsers return matching notification permission states across both navigator.permissions.query and Notification.permission on the main window.
BotRefund 在主窗口中比较 navigator.permissions.query({ name: 'notifications' }) 与 Notification.permission,以捕获被修补的状态。
Executing directly inside the main browser window, the probe invokes await navigator.permissions.query({ name: 'notifications' }) and compares its returned .state value against synchronous Notification.permission.
It specifically checks for an inconsistent split state where the asynchronous Permissions API claims 'granted' while synchronous Notification.permission simultaneously reports 'default' for the current origin.
Stealth plugins frequently patch navigator.permissions.query to return 'granted' so fresh automated sessions look like established human visitors, while overlooking the static Notification.permission getter on the global window.
在真正的 Chromium、Firefox 和 Safari 构建中,两个 API 都从相同的底层源权限存储中读取并保持一致。由于异常的浏览器状态转换很少会短暂失同步,此检查需要佐证,并让位于强烈的人类行为。
Authentic browsers return matching notification permission states across both navigator.permissions.query and Notification.permission on the main window.
Reporting 'granted' from the Permissions API while Notification.permission stays 'default' indicates an incomplete JavaScript permission override.
Forensic significance: Strong supporting indicator of JavaScript permission-API spoofing; evaluated alongside other browser integrity signals and verified user interaction rather than blocking alone.