Fix Pixiv raw image 403
< Feedback on i.pximg.net 403 Forbidden Fix
Can you elaborate more? It works for me: https://streamable.com/zf9kc
Script error: ReferenceError: "GM_xmlhttpRequest is not defined"
Greasemonkey does not natively re-define this function since the overhaul update. There is a polyfill you can define, although it'd need testing.
@MegaScience said:
Script error: ReferenceError: "GM_xmlhttpRequest is not defined"
Greasemonkey does not natively re-define this function since the overhaul update. There is a polyfill you can define, although it'd need testing.
Don't use Greasemonkey, because I don't like to use polyfill for a single obsolete script manager. Both Tampermonkey and Violentmonkey are well supported.
I actually redid your script with fetch
instead of GM_xmlhttpRequest
and it works fine now: link. Code doesn't do what yours did 1:1, but I'm only leaving it here as an example anyway. It's likely users are on a version that supports at least some of this. Could change to Promise/Then/Catch chains instead, etc.
Doesn't seem to work anymore.
I don't get any image when I go to a direct link, I really liked this script so check if you can do anything about it...