3 ms·
I just tried that, and while it does select the element, it still doesn't allow me to click on them as you suggested or any other way I could find[1]. (That is,
by SilasX 6y ago
I just tried that, and while it does select the element, it still doesn't allow me to click on them as you suggested or any other way I could find[1]. (That is, it works in general, but only on links where my extension would be able to pick up the clickability already.)
[1] Example: clicking on a currency here [2] or a time window here [3].
[2] https://www.coinbase.com/ https://www.coinbase.com/
[3] https://www.coinbase.com/price/bitcoin https://www.coinbase.com/price/bitcoin
- loa_in_ 6y agoIt seems the site is actively preventing it somehow. It might enable clicks only after onmouseenter or onmouseover events. You might want to try simulating them. It also might register onkeydown events that catch pressing enter key on them. You might want to disable those.
- loa_in_ 6y agoAdditionally some sites register click events on parents higher up in the DOM tree and then determine the child/spot under the cursor. That forces you to supply some coordinates yourself.