Smoothscroll

Smooth scrolling on pages using javascript

目前為 2018-09-06 提交的版本,檢視 最新版本

作者
winceptor
評價
0 0 0
版本
6
建立日期
2014-12-16
更新日期
2018-09-06
尺寸
7.3 KB
授權條款
未知
腳本執行於
所有網站

Script to add smooth scrolling on every page using javascript.

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)

UPDATE (01.11.2016):

Removed jQuery because of how often it conflicted with stuff on webpages. Now uses purely javascript of it's own and is much better overall. Try it out!

UPDATE (08.03.2018):

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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址