1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-05 18:32:30 +01:00

Oops meant to be 5s, not 300s...

This commit is contained in:
Raymond Hill 2024-09-17 18:10:09 -04:00
parent 11f43d4a3d
commit fe3846b72f
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -183,7 +183,7 @@ function safeSelf() {
if ( args.length === 0 ) { return; }
const text = `[${document.location.hostname || document.location.href}]${args.join(' ')}`;
if ( text === lastLogText && type === lastLogType ) {
if ( (Date.now() - lastLogTime) < 300000 ) { return; }
if ( (Date.now() - lastLogTime) < 5000 ) { return; }
}
lastLogType = type;
lastLogText = text;