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.

作者
zzzb123
日安装量
0
总安装量
318
评分
1 0 1
版本
1.5
创建于
2020-09-26
更新于
2020-10-01
许可证
暂无
适用于

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.