Opera FAQs, Tips, Tricks & Tweaks

Tips for Opera browser since 2005

How to change scroll behaviour of Opera keyboard shortcuts?

, , , , , ,

In versions prior to Opera 12, the last line on the page becomes the first line when using keyboard shortcut Page Down or Space. But scroll behaviour was changed in Opera 12 to show last 6 lines due to the following reason.

Originally posted by olak:

Some time last year it became very popular to have position:fixed bar on top of sites (examples are Facebook and Twitter). Soon bug reports came trickling in about scrolling in Opera being broken - hiding content. Dozens of reports, including from active, experienced my.opera members but mostly from normal users.

You can use Scroll Marker extension to easily locate the last read line or change the keyboard shortcut action as shown below to bring back old scroll behaviour.

Search keyboard setup for PageDown & Space and change action under browser widget to the following.

Delay, 10 & Go to page,"javascript:(function(){window.scrollBy(0,window.innerHeight-20)})()"
Search keyboard setup for PageUp and change action under browser widget to the following.
Delay, 10 & Go to page,"javascript:(function(){window.scrollBy(0,-window.innerHeight+20)})()"
The above will work only if JavaScript is enabled, otherwise add Enable javascript at the beginning and & Delay, 100 & Disable javascript at the end of the above codes.

[drozdman via forums]

Opera Community Member Statistics for 2012

Comments

PengePenge4 Wednesday, February 20, 2013 2:10:40 AM

What to do this with the position:fixed? Olak is wrong. The position:fixed bug no releated to percentage of scroll. I believe my eyes more than the developers. bigsmile

Unregistered user Tuesday, March 19, 2013 5:33:31 AM

bobbyreal writes: watanice_one

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies