philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.06k stars 2.48k forks source link

Some buttons don't get detected, option to add custom XPath rules? #3517

Open zed-b opened 4 years ago

zed-b commented 4 years ago

Some desired buttons aren't detected and they might be special case for each user in here. For example, in programming competition sites, the "copy" input button of neither CodeForces nor AtCoder gets recognized.

In case those sites are exceptions/badly coded/whatnot it would be nice if each user could add rules (xpath or else) to what he/she wants to be considered a button.

lydell commented 4 years ago

Maybe you can do this with the Violentmonkey extension. You can make a script that runs on a particular site and adds role="button" to some elements.