UserJS: AddNext.js
Tuesday, 21. June 2005, 23:27:09
I just completed my first userJS file: add-next.js
Get it at my Opera files site, at <http://userjs.org/>, or directly: <http://members.chello.nl/b.kroonspecker/opera/userjs/add-next.js>
What this script does, is check if a linked image without an alt attribute has a filename containing "next", and if this is the case, add alt="next" to the image. This then allows FastForward to use the image link as a "next" link.
I wrote it mainly because I read a lot of webcomics, and several of them are otherwise not FF-compatible. Examples are 'Schlock Mercenary' (http://www.schlockmercenary.com/) and 'Real Life (http://www.reallifecomics.com/): both of these, and several others, now work.
There is a little oddity to the script, in that FF will not immediately work: it can take a little while (1 or 2 seconds in my testing) before FF becomes enabled. I don't know how to fix that. You can usually force it to work by pressing back, then next. (z x if you use the keyboard.)
Hope you like it!
I recommend also enabling 'Always Load User JavaScript=1' in the '[User Prefs]' section of Opera6.ini, as otherwise it will not always work.
If you're new to userJS, read <http://userjs.org/help/installation> before downloading please.
Get it at my Opera files site, at <http://userjs.org/>, or directly: <http://members.chello.nl/b.kroonspecker/opera/userjs/add-next.js>
What this script does, is check if a linked image without an alt attribute has a filename containing "next", and if this is the case, add alt="next" to the image. This then allows FastForward to use the image link as a "next" link.
I wrote it mainly because I read a lot of webcomics, and several of them are otherwise not FF-compatible. Examples are 'Schlock Mercenary' (http://www.schlockmercenary.com/) and 'Real Life (http://www.reallifecomics.com/): both of these, and several others, now work.
There is a little oddity to the script, in that FF will not immediately work: it can take a little while (1 or 2 seconds in my testing) before FF becomes enabled. I don't know how to fix that. You can usually force it to work by pressing back, then next. (z x if you use the keyboard.)
Hope you like it!
I recommend also enabling 'Always Load User JavaScript=1' in the '[User Prefs]' section of Opera6.ini, as otherwise it will not always work.
If you're new to userJS, read <http://userjs.org/help/installation> before downloading please.