It would be awesome if Batoto preloaded images and swapped out pages with JavaScript a la foolslide. Actually, I should say it is awesome, because I wrote a user script that does this, and it vastly improves the speed of the reader. I've attached it here in case you want to check it out.
batoto.js.txt 17.07KB
21 downloads
This script only works in Opera 11.5+, but I'm sure it can be modified to work in Firefox + GreaseMonkey without too much work. (The uploader won't let me upload .js files, so remove the .txt from the file name.)
Preload pages and turn pages with JS
Started by ChaosinaCan, Aug 16 2011 04:55 AM
#1
Posted 16 August 2011 - 04:55 AM
#2
Posted 16 August 2011 - 05:34 AM
Batoto actually preloads images already. However, the method of display over javascript swapping is intentional.
#3
Posted 17 August 2011 - 05:39 AM
Okay. Now, I'm interested in what benefit not switching pages via JavaScript has, since it's certainly more convenient for the reader (the person reading, not the website) when page turns are instant. All the recent browsers except IE9 support the history API, and other browsers support changing the URL hash, so linking to specific pages shouldn't be a problem. Is the reason related to bandwidth and/or ads?
#4
Posted 17 August 2011 - 06:30 AM
#5
Posted 17 August 2011 - 07:43 PM
Hmm, can you make the same script reload the ad when a page is turned?
はりねずみは誇り高き鳥である。蹴らぬかぎり飛ばぬ。
My JPOP music subs (we consider requests too)
#6
Posted 17 August 2011 - 07:58 PM
Can I make an ad reload via javascript? Probably yes. However, the ad networks scripts are NOT designed to do that. So unexpected behavior will likely follow. It also breaks terms of agreement for some of them.Hmm, can you make the same script reload the ad when a page is turned?