tumpio / gmscripts

tumpio's usercripts
https://openuserjs.org/users/tumpio
MIT License
61 stars 28 forks source link

added auto-scroll function #9

Closed vecchiotom closed 7 years ago

vecchiotom commented 7 years ago

added an auto scroll function with speed changeable by the user. the auto scroll will scroll from the top to the bottom of the page and then do the same from the bottom to the top, jquery was needed to make it work, so i also added some lines to implement it in every site the user will visit.

tumpio commented 7 years ago

Hi! This is interesting addition. There is one problem though. It overrides the original scroll function. It should be renamed for example to autoScroll.

How did you plan to call this function, a button or some mouse/key command?

vecchiotom commented 7 years ago

Hi! I didn't notice that the two functions had the same name XD sorry, and yes I planned to add a button in the in the lower left corner of every page but I'm still creating the style of it so that it is pleasing to see.thanks you for commenting!