lichess.org
Donate

Stylus no longer working—Google Chrome

Popular userstyle extension for Lichess, Stylus, no longer works on Chrome as of recent. Was an inner source code modified to make it incompatible? What's strange is that the custom pieces still work, but not the boards.
<Comment deleted by user>
I have the same problem in Firefox. I think it doesn't depend on the browser used. Lichess probably has changed things again. I'd really like to know how to fix the styles to use them again. Is anyone with a good knowledge of web development here?
Try asking the maintainer of the userstyle in question?
Pretty sure that Stylus itself is fine. What needs to be updated are the userstyles that you use with Stylus.

For boards, if the style has .brown .is2d cg-board it would have to be changed to:
body[data-board="brown"] .is2d cg-board::before

.wood4 .is2d cg-board needs to be converted to:
body[data-board="wood4"] .is2d cg-board::before

and so on.
@bufferunderrun said in #5:
> Pretty sure that Stylus itself is fine. What needs to be updated are the userstyles that you use with Stylus.
>
> For boards, if the style has .brown .is2d cg-board it would have to be changed to:
> body[data-board="brown"] .is2d cg-board::before
>
> .wood4 .is2d cg-board needs to be converted to:
> body[data-board="wood4"] .is2d cg-board::before
>
> and so on.

This is the fix. Thanks a bunch!