save-in
save-in copied to clipboard
Not work on pixiv
The extension is not work on pixiv due to the referrer blocking
Duplicate of #46 I think. Try the option "Enable fetching via content script"
@arashileung Please try that option and see if it works. There needs to be better error messages and UX for this.
It shows firefox only, I am a chrome user.
I don't know why Chrome refuses to download pixiv via the content script. Chrome just returns an empty response with SERVER_FORBIDDEN
for the images, but the requests seem identical between Firefox and Chrome. I must be missing some header or the behaviour is different between the two browsers.
Works for me on FF 56.0.2 even without "Enable fetching via content script" option.
any update on this bug? chrome users can''t use the "Enable fetching via content script" option.
@nichigo13 @arashileung I've added an option to inject the Referer header in 3.2.0. This should help Chrome users since downloading from content script doesn't work in Chrome.
I've tried it out on pixiv.net locally and it seems to work on full-res images. Let me know if this fixes the problem.
Curiously enabling this seems to break pixiv downloads for Firefox users, so Firefox users should still use "Enable fetching via content script" for pixiv.
the new option fixes the problem. Thanks for the update sir.
Thanks for the update.
seems the extension stops working again on pixiv
seems the extension stops working again on pixiv
I too am getting the same problem again, and neither of the workaround options help. only a hard refresh lets the first try work.
@gyng It seems the problem happen again
Thanks for the reports, I'll take a look again.
tldr: It should be fixed for Chrome 72, but it looks like there are regressions in Chrome 73 and newer that leaves this broken for Chrome. This will need more investigation. Firefox seems to be working fine.
-
Tested in Chrome 72, works fine, but it's broken again in Chrome 73.
-
Technical notes: Chrome 72 introduced a breaking change to the
webRequest.onBeforeSendHeaders
that requiresextraHeaders
to be passed in to the listener in order to modify theReferer
header. That's been fixed, but it seems to have broken again in Chrome 73. -
Cannot reproduce in Firefox
If it doesn't work on Firefox still, please let me know your versions of Firefox.
Still an issue on chrome 76
still an issue on chrome 79.0.3945.88
still an issue on Chrome 88
Might be worth investigating Pixiv toolkit to see how it circumvents the problem.
https://github.com/leoding86/webextension-pixiv-toolkit
Should be noted that in Firefox 86.0 i have issues in pixiv (SERVER_FORBIDDEN
) but:
- I tried
Enable fetching via content script
, but then it downloads an HTML with the image filename, with "403: SERVER FORBIDDEN" content. - I set https://github.com/gyng/save-in/issues/66#issuecomment-419652363
Set the "Referer" header to page URL if it is missing
and then it works.
Which are the opposite tips than the mentioned above. Maybe they worked like that before, but, at least for me, not now.
Tried the experimental option, and it's no working. I'm on Brave though, but even on Chrome, it won't work.
Same. Chrome Version 109.0.5414.141 getting this error every time I try to use it on pixiv. After that it tries to download htm file but it giving the same error.