so here is my second attempt to make a greasemonkey script :
The idea is to mimic the Adobe Acrobat Reader autoscroll feature.
To do :
It's a very early stage but I thought I could get some help and suggestions.
PS : I know you can use your mouse but first I don't want to use a mouse at all and second I find this technic very imprecise regarding speed adjustment.
|Sebastien Ce... User||
That's a nice Greasemonkey script.
Sebastien : thanks a lot for your feedback
I like your idea about specific top/bottom speed. Maybe I could use some log-change-speed to gradually speed-up in the beginning and slow down in the end (eventually even tweak this based on <h> detection of titles/subtitles, that'd be awesone ;) .
Regarding the "bouncing" feature, could you provide a use case as I can hardly imagine in which context it could be useful.
You can replace the following with the code that follows it...
var pauseButtonElement = document.getElementById('button_pause'); pauseButtonElement.style.visibility="hidden"; var startButtonElement = document.getElementById('button_start'); startButtonElement.style.visibility="hidden"; var fasterButtonElement = document.getElementById('button_faster'); fasterButtonElement.style.visibility="hidden"; var slowerButtonElement = document.getElementById('button_slower'); slowerButtonElement.style.visibility="hidden"; var resetButtonElement = document.getElementById('button_reset'); resetButtonElement.style.visibility="hidden";
document.getElementById('button_pause').style.visibility="hidden"; document.getElementById('button_start').style.visibility="hidden"; document.getElementById('button_faster').style.visibility="hidden"; document.getElementById('button_slower').style.visibility="hidden"; document.getElementById('button_reset').style.visibility="hidden";
Jerone : true indeed. I don't think having some small graphic probably cashed in the browser would hinder it's ROI (especally seing imagines size) but I agree with you. I planned to embed them instead but never took the time too. I will remove them and either use creative common pictures on my own website, use very large fonts with text symbols like ">>" or any better suggestion?
A data URI?
Yeah a data URI.
Just curious if you are still working on this script? I just came across it and love the idea, even much of the implementation is great.
As an FYI, the start scrolling 's' is not working. In order to return to scrolling after pausing, you must reset 'r'. Not a major issue as I set my default speed preference in the configuration section so resetting doesn't affect the speed.
Hope to see future fixes and versions:)
BTW: While it doesn't seem to work, the author of the script ScrollTricks (http://userscripts.org/scripts/show/57853) has a nice idea of setting an in-page bookmark while scrolling that you get easily get back to.
Thank you for your hard work...