返回首頁 

Greasy Fork is available in English.

Smoothscroll

Smooth scrolling on pages using javascript

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 1218.01.2024
  • вер. 1118.01.2024
  • вер. 10.128.08.2021

    UPDATE (28.8.2021):

    Stopped using scrollBy for now because it messes up some pages scroll badly.

  • вер. 10.016.05.2021
  • вер. 9.626.05.2019Fix for pages with "scroll-behavior: smooth;".
  • вер. 9.519.05.2019Added support for different e.deltaMode (pixel, line, page -scrolling handled correctly now).
  • вер. 9.319.05.2019Switched to more standardized "wheel" event: https://developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event
  • вер. 9.219.05.2019Hotfix for event binding (again for firefox).
  • вер. 9.219.05.2019Another attempt to fixing firefox support.
  • вер. 9.119.05.2019Potential fix for Firefox where scroll was missing e.path property.
  • вер. 9.018.05.2019Changed from timer based animations, to requested animation frames (much much smoother and better overall, with automatic fps scaling)
  • вер. 8.119.09.2018Added additional check for "is body scrollable"?
  • вер. 814.09.2018Possible fix for wrong body/html scrollable detection.
  • вер. 711.09.2018Turned off debug.
  • вер. 706.09.2018Further simplified scrollbar and scroll detection (hopefully final)
  • вер. 606.09.2018Fixed some scroll problems with html/body elements, simplified scroll limit detection.
  • вер. 5.517.03.2018
  • вер. 5.410.03.2018Small fixes.
  • вер. 5.208.03.2018Added possibility to require as node.js script and exposed window.Smoothscroll object.
  • вер. 5.108.03.2018Renamed variables and did some cleanup.
  • вер. 5.008.03.2018Completely rewrote from scratch. Should be much more reliable and responsive now. Settings removed for now though. (edit settings inside script if you need)
  • вер. 3.105.03.2018
  • вер. 3.008.12.2017Slightly improved scrolling animation and fps handling.
  • вер. 2.917.08.2017Minor tweaks and code cleanup.
  • вер. 2.8.105.08.2017Quickfix.
  • вер. 2.805.08.2017Reworked animation.
  • вер. 2.727.07.2017Experimental update. Might be final version if no problems occur.
  • вер. 2.617.12.2016Small change to dynamicfps scaling.
  • вер. 2.5.212.12.2016Minor smoothness change to default values.
  • вер. 2.5.112.12.2016Quickfix.
  • вер. 2.512.12.2016Added new kind of dynamicfps, script will run at lower fps if there is framedelay between animations.
  • вер. 2.4.223.11.2016Quickfix.
  • вер. 2.4.123.11.2016Tweaked some default values and setting scale.
  • вер. 2.423.11.2016Updated scroll logic. !!!CHECK YOUR CONFIGS AND RESET EVERYTHING TO DEFAULTS!!!
  • вер. 2.306.11.2016Decreased possible conflicts and unwished scrolls when webpages change scroll themselves.
  • вер. 2.201.11.2016
  • вер. 2.201.11.2016Code cleanup. (Now that jQuery is gone, scroll is much better and much less cpu intensive)
  • вер. 2.101.11.2016Scroll should now be about the same as before.
  • вер. 2.0.101.11.2016Slight change to new scroll animation.
  • вер. 2.001.11.2016Removed jQuery.
  • вер. 1.328.10.2016Updated to use internal jQuery data instead of writing directly into DOM elements. (Should be a lot less cpu intensive and more smooth now)
  • вер. 1.227.10.2016Some optimizing.
  • вер. 1.1.106.10.2016Small fixes and performance improvements
  • вер. 1.1.006.10.2016Some bugfixing (hopefully)
  • вер. 1.0.9.219.07.2016removed config loading and config menu for now (some weird problems)
  • вер. 1.0.9.117.07.2016small mistake whoops
  • вер. 1.0.917.07.2016kinda experimental update, aimed to make smoother scroll by adjusting fps better
  • вер. 1.0.8.504.07.2016Small hotfix + changes to default values.
  • вер. 1.0.804.07.2016Improved fps and reduced some scroll lag.
  • вер. 1.0.719.06.2016

Показать все версии скрипта