lanl / Memento-Tracer-Extention

This browser extension records a user's interactions with a webpage so that it can be applied during the selective crawling of similar classes of webpages.
Other
1 stars 0 forks source link

Unable to select a menu item in a dropdown to trace #17

Open talyacooper opened 2 years ago

talyacooper commented 2 years ago

In order to select "All" pulls on Bitbucket, a user has to click twice: first to open dropdown menu and then to select the "All" button. Screen Shot 2022-09-15 at 5 03 38 PM

[using https://bitbucket.org/gfcstanford/rockstar/pull-requests/ as an example Bitbucket repo]

This dropdown automatically closes when a user clicks out of this browser window--which a user must do when they click into the Memento Tracer Extension window to select an element. As a result, there is currently no way to select the "All" option to be traced from this dropdown.

luda171 commented 10 months ago

Documenting a work-around that essentially stops the dropdown from auto-collapsing when the user clicks off the page: open View -> Developer -> Developer Tools at the Chrome page and run in the Chrome Developer tools code below:

const listeners = getEventListeners(document);

for(const {listener, useCapture} of listeners.blur) {document.removeEventListener('blur', listener, useCapture);}

This allows the user to create a trace by selecting the dropdown menu in one event and then selecting the dropdown item in the next event.