Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid downloading in the BG #112

Open
r3a1d3a1 opened this issue Jul 28, 2023 · 0 comments
Open

Avoid downloading in the BG #112

r3a1d3a1 opened this issue Jul 28, 2023 · 0 comments
Assignees

Comments

@r3a1d3a1
Copy link

More and more websites are using fancy new Cloudflare protection mechanisms that require cookies to be sent and resource-sharing is limited to same-site, e.g. 500px.
Furthermore, high-quality pix can be bandwidth consuming, and re-downloading them in the background is certainly suboptimal.

So, how about changing CORS header 'onHeadersReceived' to * and accessing the images directly?
In the UI, a list of websites/domains where this happens could be specified, while warning the user about security implications of doing so. This way, hopefully the user would enable it only for websites with non-private images to minimize the risks of CORS * while getting around limitations of background-downloading.

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

No branches or pull requests

2 participants