Skip to content

Add pixiv.net to CORS? #3

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions