Scriptlets icon indicating copy to clipboard operation
Scriptlets copied to clipboard

Improve 'trusted-click-element' — add a parameter to increase the scriptlet execution duration

Open Alex-302 opened this issue 2 years ago • 1 comments

Problem

In some cases, the click needs to be performed after some user actions. 10 seconds isn't enough.

Proposed solution

Add a parameter to increase the scriptlet execution duration by increasing the default duration by the value of the new parameter value (10s + value).

Limit it by 30 s (total 40s).

Alex-302 avatar Jan 10 '24 19:01 Alex-302

In this case - https://github.com/AdguardTeam/AdguardFilters/issues/170168 we might need even longer maximum delay, because this privacy consent may be displayed later than 40 seconds.

AdamWr avatar Jan 11 '24 06:01 AdamWr