Skip to content

Instantly share code, notes, and snippets.

@emlun
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emlun/4ea148b1166ec7b1e6dc to your computer and use it in GitHub Desktop.
Save emlun/4ea148b1166ec7b1e6dc to your computer and use it in GitHub Desktop.
Custom Pentadactyl command to make Stack Exchange vote buttons clickable (usable with hints mode)
group -description "Stack Exchange network" -locations=stackexchange.com,stackoverflow.com,superuser.com stackexchange
command -description "Make Stack Exchange vote buttons clickable" -group stackexchange -nargs=0 vote javascript (function() { $('.vote a').attr('href', 'javascript:void(0)'); })()

How to use

  1. Go to https://stackoverflow.com or the like
  2. :vote
  3. Enter hints mode (default: f, or g;o to click multiple things)
  4. Rejoice in not having to reach for the mouse to vote!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment