mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 11:42:32 +08:00
fix
This commit is contained in:
parent
d0a922144d
commit
54fa5feb7f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user