Your userscript doesn't work with my Pixiv user script since I replace the whole Pixiv UI (github, GF), so I added native support for it.
Can CORS access be added for www.pixiv.net? That would eliminate the need to use GM.xmlHttpRequest. That doesn't work everywhere, such as Stay on iOS (doesn't support FormData POST requests). It also avoids needing to add @connect tags so it doesn't nag the user for permission changes, and simplifies things with userscript sandboxing.
CORS would also be useful for inpaint images. I support saving translated images, but without CORS I have to fetch the inpaint image with GM.xmlHttpRequest, so it has similar problems.
Your userscript doesn't work with my Pixiv user script since I replace the whole Pixiv UI (github, GF), so I added native support for it.
Can CORS access be added for www.pixiv.net? That would eliminate the need to use GM.xmlHttpRequest. That doesn't work everywhere, such as Stay on iOS (doesn't support FormData POST requests). It also avoids needing to add @connect tags so it doesn't nag the user for permission changes, and simplifies things with userscript sandboxing.
CORS would also be useful for inpaint images. I support saving translated images, but without CORS I have to fetch the inpaint image with GM.xmlHttpRequest, so it has similar problems.