Disable/configure Back & Forward (History Scroll) through Shift + Mouse Wheel in Internet Explorer

2

I have a problem with Internet Explorer.

Sometimes (not always) when you use the mouse wheel to scroll a page up/down it instead chooses to go back or forth in the web browsing history. This behavior is the same as when you hold the Shift key simultaneously using the wheel.

My guess is that Internet Explorer somehow gets misled by something and thinks that I'm actually pressing Shift. This is in turn maybe an artifact of the fact that this particular session is a remote-desktop session originating from Linux (Ubuntu).

Needless to say the problem can be quite irritating and the alternative of completely turning off the wheel functionality doesn't seem like an option as other applications would suffer greatly from this.

Anyway back to my question(s):

  1. Is it possible to map the Shift+Mouse Wheel to a simple wheel event for Internet Explorer?

  2. Is it possible to disable the Shift+Mouse Wheel event for Internet Explorer?

Any suggestions are greatly appreciated.

Anders Hansson

Posted 2010-05-27T07:09:04.783

Reputation: 246

Answers

2

Here are some AutoHotkey scripts.

 1. Map the shift+wheel to simple wheel events in Internet Explorer

#IfWinActive ahk_class IEFrame

$+WheelUp::   Send {WheelUp}
$+WheelDown:: Send {WheelDown}

 2. Disable the shift+wheel events in Internet Exlorer

#IfWinActive ahk_class IEFrame

+WheelUp::   return
+WheelDown:: return

Bavi_H

Posted 2010-05-27T07:09:04.783

Reputation: 6 137