Viewing last 25 versions of post by Marker in topic [Userscript] Marker's Derpibooru Image Preloader

Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
**Introduction*
*  
A while ago I was binge reading through seventozen's "[Rocket To Insanity":](/tags/comic-colon-rocket+to+insanity) comic, and pretty soon grew annoyed with waiting for the new image to load every time I navigates to the next page. And I thought "now wouldn't be great if the browser could somehow download the next page as I read the current one?" So I wrote a script that does exactly that!


 
*
*Download*
*  
This userscript requires that you have "[Tampermonkey":](https://tampermonkey.net/) or "[Violentmonkey":](https://violentmonkey.github.io/
)  
Firefox users are required to install "[Laboratory by Mozilla":](https://addons.mozilla.org/en-US/firefox/addon/laboratory-by-mozilla/) and follow the "[instructions here":](/meta/userscripts-customization/post/4354787#post_4354787

)
 
Afterwards, install the script from:
"
 
[
OpenuserJS":](https://openuserjs.org/scripts/mark.taiwangmail.com/Markers_Derpibooru_Image_Preloader
"
)  
[
Greasy Fork":](https://greasyfork.org/en/scripts/370750-marker-s-derpibooru-image-preloader
"
)  
[
My github page":](https://github.com/marktaiwan/Derpibooru-Image-Preloader/raw/master/derpibooru-image-preload.user.js

)
 
*
*Settings and Features*
*  
Once installed, the script settings could be found "[here":](/settings/edit?active_tab=userscript).
 
[
![full](https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG!:)](https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG

_
)
 
*
Start prefetch..._
*  
By default, the preloading will start only after the current page has finished loading all resources. This helps if you're bandwidth limited. Alternately, if you're limited by latency (i.e. how long the server took to respond to your request), you could choose to start the preloading process as soon as possible.

_

 
*
Preloaded images_
*  
prev/next - These are the images the site will navigate you to if you use the "Previous image" and "Next image" button.
 
description - Some uploaders very helpfully includes links to the next image in the description box. This is especially useful when sometimes the comics are uploaded out of order.

_

 
*
Image scaling_
*  
Pretty self explanatory, chooses whether you want to preload the scaled or full sized version of images.

_

 
*
Auto-off_
*  
Let's face it, this script serves a pretty niche purpose, have it turned on all the time when you aren't using it is a waste of bandwidth. The script automatically turns itself off after awhile. It's set to 10 minutes by default.

_

 
*
Quick toggle_
*  
On the image pages, you will find a dropdown list allowing you to turn the preloader on or off.
 
![full](https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/toggle%20button.PNG!)
Reason: Updated setting link
Edited by Marker
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
*Introduction*
A while ago I was binge reading through seventozen's "Rocket To Insanity":/tags/comic-colon-rocket+to+insanity comic, and pretty soon grew annoyed with waiting for the new image to load every time I navigates to the next page. And I thought "now wouldn't be great if the browser could somehow download the next page as I read the current one?" So I wrote a script that does exactly that!

*Download*
This userscript requires that you have "Tampermonkey":https://tampermonkey.net/ or "Violentmonkey":https://violentmonkey.github.io/
Firefox users
allre required, ctomp install "Laboratiory by Mozilla":https://addons.mozilla.org/en-US/firefox/addon/laboratory-by-mozilla/ and followi the o"instructions her e":/meta/userscript extens-customizations n/post te/4354787#posted._4354787

Afterwards, install the script from:
"OpenuserJS":https://openuserjs.org/scripts/mark.taiwangmail.com/Markers_Derpibooru_Image_Preloader
"Greasy Fork":https://greasyfork.org/en/scripts/370750-marker-s-derpibooru-image-preloader
"My github page":https://github.com/marktaiwan/Derpibooru-Image-Preloader/raw/master/derpibooru-image-preload.user.js

*Settings and Features*
Once installed, the script settings could be found "here":/settings?active_tab=userscript.
!https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG!:https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG

_Start prefetch..._
By default, the preloading will start only after the current page has finished loading all resources. This helps if you're bandwidth limited. Alternately, if you're limited by latency (i.e. how long the server took to respond to your request), you could choose to start the preloading process as soon as possible.

_Preloaded images_
prev/next - These are the images the site will navigate you to if you use the "Previous image" and "Next image" button.
description - Some uploaders very helpfully includes links to the next image in the description box. This is especially useful when sometimes the comics are uploaded out of order.

_Image scaling_
Pretty self explanatory, chooses whether you want to preload the scaled or full sized version of images.

_Auto-off_
Let's face it, this script serves a pretty niche purpose, have it turned on all the time when you aren't using it is a waste of bandwidth. The script automatically turns itself off after awhile. It's set to 10 minutes by default.

_Quick toggle_
On the image pages, you will find a dropdown list allowing you to turn the preloader on or off.
!https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/toggle%20button.PNG!
Reason: CSP compatibility
Edited by Marker
Marker
My Little Pony - 1992 Edition
Wallet After Summer Sale -
Magnificent Metadata Maniac - #1 Assistant
Not a Llama - Happy April Fools Day!

Misanthrope
*Introduction*
A while ago I was binge reading through seventozen's "Rocket To Insanity":/tags/comic-colon-rocket+to+insanity comic, and pretty soon grew annoyed with waiting for the new image to load every time I navigates to the next page. And I thought "now wouldn't be great if the browser could somehow download the next page as I read the current one?" So I wrote a script that does exactly that!

*Download*
This userscript requires that you have "Tampermonkey":https://tampermonkey.net/ installed, compatibility with other userscript extensions not tested.
Afterwards, install the script from:
"OpenuserJS":https://openuserjs.org/scripts/mark.taiwangmail.com/Markers_Derpibooru_Image_Preloader
"Greasy Fork":https://greasyfork.org/en/scripts/370750-marker-s-derpibooru-image-preloader
"My github page":https://github.com/marktaiwan/Derpibooru-Image-Preloader/raw/master/derpibooru-image-preload.user.js

*Settings and Features*
Once installed, the script settings could be found "here":/settings?active_tab=userscript.
!https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG!:https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/settings.PNG

_Start prefetch..._
By default, the preloading will start only after the current page has finished loading all resources. This helps if you're bandwidth limited. Alternately, if you're limited by latency (i.e. how long the server took to respond to your request), you could choose to start the preloading process as soon as possible.

_Preloaded images_
prev/next - These are the images the site will navigate you to if you use the "Previous image" and "Next image" button.
description - Some uploaders very helpfully includes links to the next image in the description box. This is especially useful when sometimes the comics are uploaded out of order.

_Image scaling_
Pretty self explanatory, chooses whether you want to preload the scaled or full sized version of images.

_Auto-off_
Let's face it, this script serves a pretty niche purpose, have it turned on all the time when you aren't using it is a waste of bandwidth. The script automatically turns itself off after awhile. It's set to 10 minutes by default.

_Quick toggle_
On the image pages, you will find a dropdown list allowing you to turn the preloader on or off.
!https://raw.githubusercontent.com/marktaiwan/Derpibooru-Image-Preloader/master/screenshots/toggle%20button.PNG!
No reason given
Edited by Marker