บทวิจารณ์สำหรับ BMW - Broken Mouse Wheel
BMW - Broken Mouse Wheel โดย ผู้ใช้ Firefox 13282525
3 บทวิจารณ์
- ได้รับการจัดอันดับ 5 จาก 5โดย Yandong, 5 ปีที่แล้ว
- ได้รับการจัดอันดับ 5 จาก 5โดย ผู้ใช้ Firefox 11858178, 7 ปีที่แล้วVery cool thing, I'm working mainly with Touchpads or Trackballs, I didn't know what I was missing all the years. Thanks a bunch :)
การตอบกลับของนักพัฒนา
โพสต์เมื่อ 7 ปีที่แล้วHello Herb, we just uploaded an advanced version of this extension. You can download it at: https://addons.mozilla.org/en-US/firefox/addon/broken-mouse-wheel/ - ได้รับการจัดอันดับ 4 จาก 5โดย difabor, 7 ปีที่แล้วSomething, like this:
var height = document.documentElement.scrollHeight;
var width = document.documentElement.scrollWidth;
function scroll(event){
var y = event.clientY;
var yPercentage = y/screen.height;
var x = event.clientX;
var xPercentage = x/screen.width;
//ctrlKey is subject to change as more features will be added
if (event.ctrlKey)
window.scrollTo(xPercentage*width,yPercentage*height);
}
window.onmousemove = scroll;
---------------------------------------------------------------------------
In addition I found, that this addon does not work on addons.mozilla.org (on mozilla.org it works)