Replies: 2 comments 8 replies
-
|
I guess you mean 1.71.1b2? There is a built-in timeout of 10s for the scriptlet, after which the scriptlet aborts. The fact that the site's timer is 10s means that whether the click occurs is extremely dependent on a given implementation of the scriptlet, and since I changed the implementation of the scriptlet, this edge case surfaced. Is this a filter from a supported filter list? Given that the scriptlet's timeout is exactly the site's timer, the filter can be make more resilient with: This will set the timeout at 15s. To try to keep such edge cases from surfacing, I will extend the built-in timeout to 11s, this will be in next dev build. |
Beta Was this translation helpful? Give feedback.
-
|
On my end works perfectly, even there are delays of up to 15 minutes with the new syntax. I see the point of sticking to the old syntax only if you want it to work with uBo legacy by the Slovenian programmer: https://github.com/UCyborg/uBlock-for-firefox-legacy/releases (I don't follow the Germanic version of the forum https://msfn.org/board/topic/183923-extensions-ucjsucxul-scripts-css-stylesheets-and-custom-buttons-for-uxp-browsers-corrections-modifications-adjustments-and-recommendations/ - since the development of the Slovenian fork has also stopped, maybe work on the German one has been resumed). And possibly in AdGuard as their on-the-fly parser doesn't support the new uBo logic. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tested on:
The filter is:
wcostream.com##+js(trusted-click-element, button.btn-close#close-btn:not([disabled]))The test page is:
https://www.wcoflix.tv/rent-a-girlfriend-season-5-episode-7-english-dubbedThe page has a countdown before the button becomes available (
disabledattribute removed). Prior to today, removing the attribute and clicking the button immediately worked. But now, you have to wait the full countdown to navigate to the end-page without the site blocking the visitor.This is where trusted-click seems broken. In non-beta versions of uBO, the click occurs at the moment the site enables the button.
In uBO beta, nothing happens, even if I add a parameter (like
,, 15000) . If I use the time attribute in older uBO, the click waits the correct time.Beta Was this translation helpful? Give feedback.
All reactions