Skip to content

Add more options to trusted-click-element #2917

@D4niloMR

Description

@D4niloMR

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT an issue with YouTube, Facebook or Twitch.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

Some details: AdguardTeam/AdguardFilters@cb49008

This isn't be the best solution, but it can provide a quick and easy fix, to later properly fix it.

The skippable primevideo ad may be fixable by others filters, but the main goal is the potential of trusted-click-element

Based on this documentacion and in my own usage, trusted-click-element works fine for primevideo skip ad, but after 10 seconds the scriptlet stop, or if click the element 1 time, so it will either skip 1 ad only or skip none because you waited more than 10 seconds to choose a movie/serie.

With the "expected behavior" below, can be used more reliably to click on timer: uBlockOrigin/uAssets#20314

A specific URL where the issue occurs.

https://www.primevideo.com/region/na/detail/0F7QZ8SNFP7NSGO3UW77XTFI5F/ref=atv_dp_atf_prime_sd_mv_resume_t1ADAAAAAA0wg0?autoplay=1&t=0

Steps to Reproduce

  1. On https://www.primevideo.com/region/na/storefront/
  2. Choose a recommended movie.
  3. Skippable ad on your face.

Expected behavior

trusted-click-element being able to click on "skip" n times without stopping.

New options:

, stay, 1 to stay indefinitily until element is clicked.

And something like , clicks, numberofclickshere to the , stay, 1

Examples: , stay, 1, clicks, 3 to stay indefinitily until element is clicked three times
, stay, 1, clicks, 0 stay indefinitily even after clicking in the element. (Forever)

Actual behavior

Just click "Skip" once and within 10 seconds.

uBO version

1.52.3rc16

Browser name and version

Firefox 119

Operating System and version

Windows 10 19045

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions