Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>I really hope any website could be as flexible as Wikipedia to allow users to write their own CSS.

Once upon a time, there was an initiative for websites to add a unique CSS ID to the <body> tag so users could customize them with user stylesheets.

For example: <body id="news-ycombinator-com"> for this website, and then users can apply CSS rules as they see fit via the user stylesheet.

Sadly, the initiative never took off and most browsers nowadays don't even know what a user stylesheet is.



Firefox does. You have to go enable it in about:config, but it still works fine. Even has per-domain filters so you don't even need the body-id attribute you mentioned. See top example in the README here: https://github.com/NapoleonWils0n/firefox-css


Boy do I have good news [1] for you.

[1]: https://github.com/openstyles/stylus




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: