Jump to content

Is it possible to track which clickable elements are clicked?


bberriz

Recommended Posts

Due to the use of the MutationObserver, every time a user clicks into or types in a search box which uses typeahead or provides suggestions (or any input controls with similar behavior) the routine to trigger clicks on clickable elements is run. Unfortunately, in the case of some of these elements, such as the OneTrust reject all click, this results in a change of focus away from the input element. So, on a site which uses OneTrust and search suggestions, a user will not be able to use the search on the site without turning off protection. 

Can a change be made to track which elements have been clicked, so that when this routine is triggered again, clicked elements will not be clicked again?  In general, this will have already run for most sites by the time a user clicks into a search box. Even if it hasn't, if this is only triggered on the first attempt to search it would be annoying without breaking the functionality of some sites.

 

Looking forward to your thoughts,
Ben

Link to post

Hello @Porthos,

The issue isn't a block in the sense that the search is disabled, or some needed script is blocked. It's a conflict with the behavior of the extension vs the behavior of certain other scripts. In this case all I could screenshot is a search box without focus. Would that be enough for the report, or is there anything more I should include?

 

Thanks

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Back to top
×
×
  • Create New...

Important Information

This site uses cookies - We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.