leoding86 / webextension-pixiv-toolkit

A web extension for Pixiv
1.35k stars 82 forks source link

Pixiv only shows a white screen whenever Pixiv Toolkit is active. #164

Open DarkTzitzimine opened 2 years ago

DarkTzitzimine commented 2 years ago

Yesterday I logged into my Pixiv account and to my surprise, it never loaded the site. Chrome told me it was loading but the only thing it showed was a white screen.

image

If I entered the address for a specific image then the Pixiv Toolkit would show at the bottom, the font on the buttons looks off but it does work, allowing me to download the image but the site remains a white screen.

image

Disabling PixivToolkit makes the site work perfectly.

image

image

This happened to me on Google Chrome Versión 97.0.4692.71 (Build oficial) (64 bits)

Pixiv Toolkit is the 5.4.1 version with all the default settings although settings option are disabled

image

jexom commented 2 years ago

To elaborate here's a console screenshot with the same issue on Opera 82.0.4227.32 image

DarkTzitzimine commented 2 years ago

Same messages in the console in Chrome image

This is the same page with Toolkit disabled

image

JapanYoshi commented 2 years ago

Also having the same issue on Kiwi Browser for Android.

1725635 commented 2 years ago

图片详情页在使用 Pixiv Toolkit 的情况下都是白屏状态 。 01

而禁用 Pixiv Toolkit ,甚至卸载后仍然不能显示图片。 02

leoding86 commented 2 years ago

Can anyone update the settings you are using? I can't reproduce the issue in my Edge and Chrome.

leoding86 commented 2 years ago

@1725635 卸载了还不能打开的话,那应该是网络问题吧,清下浏览器缓存试试🤔

leoding86 commented 2 years ago

@DarkTzitzimine The invalid Access-Control-Allow-Origin header might be the reason of the page is blank. I need to investigate further to figure it out.

jexom commented 2 years ago

Can anyone update the settings you are using? I can't reproduce the issue in my Edge and Chrome.

Fresh install from chrome extensions, no changes were made to the settings

leoding86 commented 2 years ago

The browser don't need to load the resources from source.pixiv.net to working properly when I visit Pixiv. I guess Pixiv is doing a A/B test or Dark launch, so I can't visit the page which cause the issue. I need a little time to figure out a way to fix it.

jexom commented 2 years ago

Interesting, but completely clearing out cookies for pixiv helps. At first thought it may be an authenticated user issue because the problem wasn't present when using incognito. After logging in in incognito everything worked fine, so I went on to clear cookies normally which resolved the issue.

Something caused multiple users to have some kind of invalid data in cookies which is probably on pixiv themselves.

DarkTzitzimine commented 2 years ago

Interesting, but completely clearing out cookies for pixiv helps. At first thought it may be an authenticated user issue because the problem wasn't present when using incognito. After logging in in incognito everything worked fine, so I went on to clear cookies normally which resolved the issue.

Something caused multiple users to have some kind of invalid data in cookies which is probably on pixiv themselves.

Huh, clearing my cookies actually fixed the issue. Weird this happened in the first place but I'm glad it was such an easy fix. Thank you so much for looking into it.

1725635 commented 2 years ago

@1725635卸载了不能的话,那应该是网络问题吧,清下浏览器还是打开网络试试🤔 可以了,谢谢。