How can I force my css styles when I visit a website?

30

5

Imagine I want to visit webmaster.stackexchange.com (or an other website) everyday but I want to change the blue color of header (change it to red for instance).

Is it possible to force personal css styles when I visit a website? If so, how can I do it? Maybe a web browser tip or a plugin? (I use Chrome)

I would like an automatic solution, change css with web browser console (F12 on Chrome) for each page I visit is not interesting.

Zistoloen

Posted 2013-03-04T09:22:36.317

Reputation: 411

Answers

17

The general concept you're after is "user stylesheets."
Stylish (Chrome / Firefox) gives you an easy way to manage per-site styles and toggle them on/off as needed.

Su'

Posted 2013-03-04T09:22:36.317

Reputation: 333

2@Zistoloen have you enabled the extension to work in private browsing? Extensions are disabled by default for private browsing (incognito), but they can be enabled to work there (at your risk). – ADTC – 2017-08-29T09:37:45.827

Thanks Su'! But unfortunately it doesn't work in private browsing mode. – Zistoloen – 2013-03-04T13:21:38.723

9

In 2017 Stylish became very heavy and full of bloat features so i decided to move away from it.

I've created an alternative - Styler extension - it's lightweight and has minimal style but powerful. You can add custom CSS and JavaScript/jQuery code.

Styler Extension for Google Chrome

Why i love it and use it on daily basis - mostly because of autosaving and auto-syncing between all Google Chrome browsers (on Mac, Win and Linux).

Max

Posted 2013-03-04T09:22:36.317

Reputation: 191

Nice! It's not widely known. And it works seamlessly. – ADTC – 2017-08-29T09:42:35.067

2

It says it's open source. I couldn't find a link. Is simov/styler the correct repo for this on GitHub?

– absynce – 2017-09-11T20:23:40.423

0

Greasemonkey ... a google search pointed me to Tampermonkey (https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en)

Prasad Ajinkya

Posted 2013-03-04T09:22:36.317

Reputation: 101

2While technically you can modify the styling of documents with Grease/Tampermonkey, it's not really what they're intended for, at least not in isolation. Userscripts are more suited to messing with the actual function (and sometimes structure) of pages. – Su' – 2013-03-04T10:21:29.923