i.pximg.net 403 Forbidden Fix

Fix Pixiv raw image 403

< 脚本i.pximg.net 403 Forbidden Fix的反馈

评价:差评 - 脚本失效或无法使用

§
发表于:2019-02-16

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

maple3142作者
§
发表于:2019-02-17

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

§
发表于:2019-03-12

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.

maple3142作者
§
发表于:2019-03-12

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

§
发表于:2019-03-12

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.

发表回复

登录以发表回复。