leoding86 / webextension-pixiv-toolkit

A web extension for Pixiv
1.46k stars 88 forks source link

Pixiv Login fails to load recaptcha if Pixiv Toolkit 5.0.0 is enabled #119

Closed Pxartist closed 3 years ago

Pxartist commented 3 years ago

Describe the bug On first login, if Pixiv Toolkit 5.0.0 is enabled, Pixiv Login will fail to load a recaptcha, thereby preventing the user from logging in.

Expected behavior A clear and concise description of what you expected to happen.

User should be able to load recaptchas regardless of what extensions are active

Example work from Pixiv If applicable, add work url to help me to reproduce the problem.

Screenshots If applicable, add screenshots to help explain your problem.

Annotation 2021-07-31 171406

Browser and Version (please complete the following information):

Brave v 1.27.109

Settings of extension You can export the settings of extension in setting page.

I am using ffmpeg, but that should not have an impact.

Additional context Add any other context about the problem here.

To replicate a fresh login, delete all of the website's cookies. Afterwards, activate Pixiv Toolkit 5.0.0

leoding86 commented 3 years ago

I noticed it. It is because ffmpeg need use SharedArrayBuffer to work. But after Chrome 92, the browser need Cross-origin isolation to use SharedArrayBuffer. The detail information is here.

I'll fix the bug soon. The fix is, remove relative response headers when the page is not target page.

leoding86 commented 3 years ago

Fix in 8169dced739eb85914774524f70a4d913d350009