-
-
Notifications
You must be signed in to change notification settings - Fork 984
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
Anti-theft chain image save failure #1563
Comments
you can mv the img2base64 from backgroud to contentjs or mv as much logic as possible from backgroud to contentjs! |
Do you mean the firefox version of SingleFile? Can you give me an address? |
i guess someone have talked about it , but i can not find those talkings, i am chinese , i could not search it good enough. |
It's painful to debug but it looks like it's related to the cache. |
Describe the bug
i find the website save is ok ,but the img can not save,because the web open the Anti-theft rule, i know you get the img binary in background.js ,it will be error, could you use fetch in contentjs ? it will work!
the url is
https://weibo.com/1699432410/OwmaceM4N
you see,it is 403! but if you run fetch() in contentjs context,it will be fine!
the reason is reffer can not be set in popup,backgroud, slider,or other context, but contentjs can auto use the reffer in header,then bypass the rule!
The text was updated successfully, but these errors were encountered: