Use this for example if your browser does not have smoothscroll natively.
Tested in Chrome, Maxthon and Firefox.
Post feedback or I won't know what you think or want. Initially I created this for my personal use because smooth scrolling in Maxthon did not work for me.
I'm still updating this when I find something to improve or find bugs. (Since I still use this myself)
Completely rewrote this script due to how unmanageable the old version was. Should be much better now in both performance and visual appearance. Settings can be changed inside script for now until i make better settings page for this.
There are for now 2 parameters you can change: *Smoothscroll.Smoothness - default 0.5, change to 1.0 or higher for smoother animation. *Smoothscroll.Acceleration - default 0.5, change for higher acceleration
Don't increase those values too much though.
Reworked animation functions to use requestAnimationFrame, instead of trying to reproduce same functionality using timers. This results into much more consistent and better animations and smoother scrolling. You dont need to change Refreshrate setting anymore either, it is calculated automatically and used internally.
I decided to put a short video about how this looks. So here you go: