Sadpanda Save/Export All Favorites

Load all favorites to the page and save it, export as JSON data or just copy the textbox contents. Works on exhentai and e-hentai.

Author
SaddestPanda
Daily installs
2
Total installs
3,387
Ratings
31 2 0
Version
2.6.8
Created
2016-09-22
Updated
2024-05-28
License
N/A
Applies to

2022.11.06: Updated for the new paging UI.
You can also now export JSON data if you use the extended layout (works with or without the 'insert into page' option).
Example JSON use case (creates charts of your favorite tags).


When the website is dying increase the delay to at least 5000 or more. If the delay is too low (less than 2500) your thumbnails might stop loading and you might get rate limited by the website.

This script appends all favorites from the current category/search to the page.
After it finishes loading, you can copy the text or save the complete page using Ctrl+S and saving it as a .mhtml file (on chromium browsers) or use the "save complete page" option.
Some website downloaders may try to re-download each thumbnail image, which might not work because you will get rate limited.

  • If you enable the "load thumbnails on page load" option in the e-h settings, the output will include all thumbnails as well.

  • Use the Extended Layout to be able to download a JSON backup of your favorites (works with or without the 'insert into the page' option).

  • Don't change the view style in another tab while the pages are loading. (thumbnail view into list view or vice versa)

  • Chrome and some other browsers throttle background tabs so if you go to another tab it might prevent you from loading all the images. If you enable the playemptyaudio option this might not be needed.

  • A way to get a list of your Notes

Tested on latest Firefox & Chrome with tampermonkey. (Other monkeys might also work).

Top text box inspiration and its code is from this old script. But this one won't have an import feature like that one (for now).

Thank you list:
Used libraries: he.js and GM_webextPref for the preferences menu.
Thanks Caca Ductile for your contributions. Thanks dnsev-h for getTimestamp().

Settings (You can modify these in the options menu)
Page Timer = 2500 ◀◀Waiting timer for each page. Making it shorter will break things.
Insert to Page = true ◀◀Insert other pages to this page's table. Turn this off if your browser is freezing or crashing. You can still save the textbox list and/or export the JSON data.
Play Empty Audio = false ◀◀Play a silent audio track while loading the pages. Keep this on. It might help prevent the tab from being throttled.
Auto Hide Favorites = true ◀◀Automatically hides favorites while loading to improve loading performance by a lot.

Image

Many thanks to all the archivers and uploaders.
May the highest quality hentai always be with you.

tags: exhentai, e-hentai, hentai, sadpanda