mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
896 B
896 B
hide
| hide | |
|---|---|
|
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.