UserScripts
UserScripts copied to clipboard
Pixiv++ stopped showing download links
Hi! Recently Pixiv++ script stopped showing download links on image pages. Things are broken on both Firefox ESR and latest Chromium. Console shows this:
Pixiv++ Initalising member_illust.php:3888:13 Containers: NodeList [ <ul._image-items> ] member_illust.php:2150:17 Error running script: [TS] Pixiv++ V3 alpha TypeError: doc.querySelector(...) is null doc.querySelector(...) is null member_illust.php:3:14727 i https://www.pixiv.net/member_illust.php:3:14727 t/< https://www.pixiv.net/member_illust.php:3:9864 value https://www.pixiv.net/member_illust.php:3:16357 <анонимная> https://www.pixiv.net/member_illust.php:1:47 <анонимная> https://www.pixiv.net/member_illust.php:1:2 o https://www.pixiv.net/member_illust.php:3:15994 module.exports</t.b/< https://www.pixiv.net/member_illust.php:3:16222 t https://www.pixiv.net/member_illust.php:3:9877 a https://www.pixiv.net/member_illust.php:3:9946 n/u.a.load https://www.pixiv.net/member_illust.php:3:10078
hate to say it man, but i think this script is dead now... lol
Change line 457 to
metadata.account = doc.querySelector("ul.tabs > li > a[href*='/stacc/']").href.replace(/.+\/stacc\//, "");
@Barafag Thank you, this fixed the script!
I am sorry, due to personal issues I have been unable to work on anything for quite sometime. I do not know when I can get back to scripting. Thank you for understanding.