Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can the space bar scroll behavior be modified in all apps (such as Firefox, pdf viewers, etc.)? It's dizzying to have space bar scroll the full page -- I often lose track of what I'm reading.

I found this link, but the answer is for Microsoft Windows and seems to be only for Firefox. Is there an operating system and app independent solution? Or if not, one for Firefox and OSX would be very helpful still.

share|improve this question
    
A quick google search turned up empty. I'd even be interested in disabling the behavior, instead of just modifying the length of the jump, but no dice. Sucks. –  fgb Apr 30 '13 at 21:08
add comment

1 Answer

I found this link that should solve your problem.

I've tried the solution myself, but I am using Ubuntu instead of OS X. Anyway I think this solution is general enough to solve your problem also, since it's firefox based.

Works with firefox, didn't look for a solution or alternative for chrome


Download the keyconfig extension (It seems a little bit outdated, but it is still working =D ).

Now look for "Keyconfig..." in the menus.

  • Click Add new key

  • In the Name textbox type something like "Half-page Scroll Down"

  • Paste the following code, replacing the text /*CODE*/

/* Down */

window.content.scrollBy(0, window.content.innerHeight / 2);

  • Click OK

  • Now in the list look for "Half-page Scroll Down" and select it (the list may be alphabetically sorted)

  • Click on the text field at the left size of the button Apply, and type the desired hotkey. In this case, you could press Space key of your keyboard

  • Click Apply (Please don't forget this one :P )

Now to configure the scroll up just repeat the steps above using:

Name = "Half-page Scroll Up"

This code instead:

/* Up */

window.content.scrollBy(0, -(window.content.innerHeight / 2));

And hotkey = Press on your keyboard Shift+Space

(Don't forget apply :P)


Bonus: Note that the codes used above could easily be changed to get other desired effects like:

/* Down */

window.content.scrollBy(0, window.content.innerHeight / 3);

Scroll just 1/3 of the page instead of half! =)

And

/* Down */

window.content.scrollBy(0, 0);

Scroll does nothing at all (hey! Disables Space).

share|improve this answer
add comment

Your Answer

 
discard

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.