Nhentai Favorites Scraper

Scrapes the magic numbers out of your Nhentai favorites list, returning the list as a text file. My first introduction to JavaScript, so don't expect perfection.

Author
zzzb123
Daily installs
1
Total installs
45
Ratings
1 0 0
Version
1.5
Created
2020-09-26
Updated
2020-10-01
License
N/A
Applies to

My first attempt at writing anything in JavaScript. When triggered, it nexts through your favorites, copying all the magic numbers it comes across into the localStorage. When it reaches the end and the next button disappears, it prompts the user to save the completed file.

Tested working on Firefox, but likely works in other browsers as well. There is no 'good way' I could find to do this that didn't require special browser-specific permissions, so your list will be cut off after 5-10 MB. Considering a list of >1000 numbers is only about 1/100 of a MB, this is unlikely to be much of a problem, but do be aware it does have a cap.