ppixiv / ppixiv

Better Pixiv image viewing
https://ppixiv.org/install
154 stars 9 forks source link

Content-Security-Policy blocked userscript #87

Closed DmitriyPekar closed 5 months ago

DmitriyPekar commented 5 months ago

browser: librewolf

ppixiv commented 5 months ago

I need more information than that to do anything. (Or any information at all...) I've never seen CSP used on Pixiv.

DmitriyPekar commented 5 months ago

CSP is used when you use userscript, and I'm fine without it.

ppixiv commented 5 months ago

I don't know what you mean. CSP is a security feature used by some sites (mostly sites that process payments), but I haven't seen Pixiv use it anywhere. What page on the site, and which userscript manager? Do you see this problem in Chrome or Firefox, using TamperMonkey or ViolentMonkey? I don't see this happening, so I can't help without concrete information.

DmitriyPekar commented 5 months ago

I don't know what you mean. CSP is a security feature used by some sites (mostly sites that process payments), but I haven't seen Pixiv use it anywhere. What page on the site, and which userscript manager? Do you see this problem in Chrome or Firefox, using TamperMonkey or ViolentMonkey? I don't see this happening, so I can't help without concrete information.

Violentmonkey, Browser librewolf, any page of pixiv

DmitriyPekar commented 5 months ago

with the script, any page looks like this on pixiv

изображение

DmitriyPekar commented 5 months ago

solved the problem by turning off streamer mode for firefox