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.

返信を投稿

返信を投稿するにはログインしてください。