Script Summary: Makes any(?) page with a paginator on various Danbooru clones "bottomless"--blend pages seamlessly or separate each with a paginator.
Default supported sites:
If you happen to frequent an unsupported booru, try just adding it to the includes list. This script was designed to be very compatible with other sites, so it will probably work on most if not all pages. Only the sites on the above list are directly supported, however--don't ask me to add or fix other sites.
This script removes the blacklist sidebar (which counts the number of hidden posts and lets you unhide them), since loading new pages breaks it.
At the top of the script are four options:
- pageBreak - If true, each added page retains its paginator. If false, elements are smoothly joined together.
- scrollBuffer - Increase to decrease amount of scrolling needed to load next page.
- timeToFailure - Time (in ms) the script will wait for a response from the next page before attempting to fetch the page again. Increase if the next page keeps trying to load but never completes.
- The last is a line disabling this script on the forum index and forum threads. Comment it out to turn the script back on, but there will be bugs.
> Fixed script on Chrome.
> Fixed pageBreak=false bug.
> Stopped script from triggering for zero-result searches, which shouldn't happen that often anyway.
> Changed the scrollBuffer system and made some other minor tweaks to hopefully improve compatibility with other browsers.
> Fixed note/search on Danbooru/Sankaku and forum/show and user/index on Imouto/Konachan.
> The blacklist sidebar (which counts the number of blacklisted posts) is now removed whenever there is at least one more page, since this script breaks it anyway.
> Fixed problem with Imouto's new post index.
> Changed "http://moe.imouto.org/" to "http://oreno.imouto.org/" in the includes list.
> Fixed minor bug where searching on Danbooru for tags blacklisted by this script broke this script if the blacklist executed first.
> Fixed problems on Gelbooru caused by the recent interface change.
> Significantly reworked the script to be much more compatible with unknown sites and pages. Instead of matching specific pages like post index, the script just works through a small list of known variants--a cleaner, smarter version of the way things were before the last major update. The risk of bad matching is greater, but hunting down and listing every page type is too much trouble, and it worked on everything I tried. The script is disabled on forum pages (except the search); that's how I always had it on my version, and there are bugs involving the paginator and the reply box that I did not want to have to deal with. Turn it back on yourself if you feel like it; it'll mostly work.
> Added the direct URLs to Danbooru's two servers (hijiribe and sonohara) to the includes list.
> Removed all Safebooru matches in the getMainTable() function to avoid confusion with a completely different new site of the same name. The "unknown site" catcher will treat it as Danbooru anyway, so there's no functional change.
> Fixed slight bug that halted the script if the next page contained "Nobody here but us chickens!" as normal text, like a forum post or comment.
> Added the usual script update checker, with a two day delay (after new version is found) in case I end up doing quick revisions after an update.
.
> Added "http://www.behoimi.org/*" and "http://www.gelbooru.com/*" to the includes list, to go along with the existing "http://behoimi.org/*" and "http://gelbooru.com/*".
> The forum reply box now appears at the bottom of the last page when pageBreak is turned on, rather than the bottom of the first loaded page.
> Script works on Imouto again.
> Added "timeToFailure" option. Its old value (5 seconds) was causing the script to get stuck in a loop if the connection was consistently bad, so I tripled it.
> Sankaku Complex just added an "Auto Paging" feature that makes their post index bottomless their own way; this script will no longer activate if that is turned on.
> Modified script to work with the changed paginator that shows up starting at page 1000 on Danbooru.
> Extra pages no longer clog history.
> Added artist history + recent changes (Danbooru, Safebooru) to supported pages.
> Added pool history + recent changes (3dbooru, Danbooru, Safebooru) to supported pages.
> Fixed bug with Sankaku's post index.
> Onclick events like the Post Modes ought to work on the new pages, now. More than they used to, anyway. I had to disable this fix for 3dbooru since it was somehow breaking the script, but I think the other pages are fine.
>Script has undergone major revision:
>Code has been cleaned up and organized to make adding new sites (and debugging old ones) easier.
>Increased compatibility with unknown sites.
>The old pageBreak alignment problems have hopefully all been fixed.
>Gelbooru and 3dbooru have been added to the starting sites. Gelbooru required special code to handle its unique (annoying) way of doing things.
5-8
// @uso:version 330696
// @uso:timestamp Fri, 06 May 2011 21:34:09 +0000



