自动化爬虫检测
function botCheckMate() {
const iframe = document.createElement("iframe");
iframe.src = "data:text/html,<body></body>";
document.body.appendChild(iframe);
iframe.contentWindow.open("", "", "top=9999");
return false;
}

let isBot = botCheckMate();
展开
评论