Skip to content

Add pixiv.net to CORS? #3

@ppixiv

Description

@ppixiv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions