Known quirks¶
User styles not working¶
Issue¶
User styles, such as those applied using the Stylus browser extension, may not work properly with PixivFE.
Cause¶
PixivFE implements a strict Content-Security-Policy (CSP) that prevents inline styles from being loaded.
Solution¶
If you're using the Stylus browser extension, follow these steps to enable user styles:
- Open the Stylus extension options.
- Go to the "Advanced" section.
- Enable the option "Circumvent CSP 'style-src' via adoptedStyleSheets".
This setting allows Stylus to bypass the CSP restriction and apply user styles correctly.
For more information, refer to issue #1685 on the Stylus GitHub repository.