This commit is contained in:
yanlong.wang 2024-08-01 19:49:40 +08:00
parent d0a922144d
commit 54fa5feb7f
No known key found for this signature in database
GPG Key ID: C0A623C0BADF9F37

View File

@ -490,7 +490,7 @@ document.addEventListener('load', handlePageLoad);
page.emit('abuse', { url, page, sn, reason: `DoS attack suspected: DOM tree too deep` });
return;
}
if (s?.elemCount && s.elemCount > 15_000) {
if (s?.elemCount && s.elemCount > 20_000) {
page.emit('abuse', { url, page, sn, reason: `DoS attack suspected: too many DOM elements` });
return;
}