5 ms·
In Firefox, by default, you can search for text of an element using forward slash. Then you hit escape and hit enter to activate it, or tab to navigate past it.
by loa_in_ 6y ago
In Firefox, by default, you can search for text of an element using forward slash. Then you hit escape and hit enter to activate it, or tab to navigate past it. That alone made 90% of websites practically mouseless for me
- SilasX 6y agoI 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.