Greasy Fork is available in English.

i.pximg.net 403 Forbidden Fix

Fix Pixiv raw image 403

< Feedback on i.pximg.net 403 Forbidden Fix

Review: Bad - script does not work

§
Posted: 16/02/2019

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...

maple3142Author
§
Posted: 17/02/2019

Can you elaborate more? It works for me: https://streamable.com/zf9kc

§
Posted: 12/03/2019

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.

maple3142Author
§
Posted: 12/03/2019

@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.

§
Posted: 12/03/2019

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.

Post reply

Sign in to post a reply.