Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to use a program like Stylebot to have a custom CSS rule which activates a region when a number is pressed? I want 1 to click region 1, 2 to "right-click" region 2, and 3 to click region 3. I'm looking at the css, and it seems like there's a div whose third-order descendants are controls for a .js script. They are <p> elements, and they are all of the same class. They do not have id's.

I'm thinking it would be incredibly complex.... Maybe I could just write a mouseclick script. On the other hand, could it be as simple as writing an accesskey tag in, properly, to these regions?

share|improve this question

I believe the only way to do this is with Tampermonkey.

Since you want to extend a functionality of a website with actions that respond to what user does, you will need some javascript.

Stylebot is for custom CSS, Tampermonkey is for custom JavaScript. I'm not that good in JS to help you, though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.