Re:Simple user styles for popular websites
by bencevans on Tuesday February 26, 2013 @05:34PM
(#5289135)
What tool/extension is being used to apply the custom stylesheets?
[ Parent
| on HN ]
Re:Simple user styles for popular websites
by skcin7 on Tuesday February 26, 2013 @06:10PM
(#5289331)
I just tried Stylish add-on for Firefox. Works great except I can't seem to figure out a way to make custom styles work for only a specific page. Maybe I'm missing something but there doesn't seem to be a way.
For example if you have .margin-width CSS class defined it will work on any page that has .margin-width CSS class, not just desired page (like Facebook).
Re:Simple user styles for popular websites
by bpierre on Tuesday February 26, 2013 @06:24PM
(#5289377)
You can use @-moz-document, I’m using this with dotjs for Firefox https://github.com/rlr/dotjs-addon#css
Re:Simple user styles for popular websites
by KwanEsq on Tuesday February 26, 2013 @08:12PM
(#5289824)
As bpierre said @-moz-document rule, which I just discovered has actually been unprefixed since Fx6.
Here's the MDN page detailing it and the various functions:
Re:Simple user styles for popular websites
by pbhjpbhj on Wednesday February 27, 2013 @11:53AM
(#5293307)
So @document means you can bypass the addon and just use the user stylesheet to implement the same thing. Didn't know about @document.
You can see the Stylish icon in the poster's screenshots.
https://chrome.google.com/webstore/detail/stylish/fjnbnpbmke...
Re:Simple user styles for popular websites
by hk__2 on Tuesday February 26, 2013 @07:00PM
(#5289533)
On Ubuntu & Co, you can copy it in your global custom stylesheet:
Chromium: ~/.config/chromium/Default/User\ StyleSheets/Custom.css
Chrome: ~/.config/google-chrome/Default/User\ StyleSheets/Custom.css Other browsers: Don’t know
Re:Simple user styles for popular websites
by marksands07 on Tuesday February 26, 2013 @06:02PM
(#5289301)
You could try dotcss: https://github.com/stewart/dotcss
Re:Simple user styles for popular websites
by marksands07 on Wednesday February 27, 2013 @12:24AM
(#5290839)
This repo appears to be outdated. I forked it and submitted an extension to the Chrome store so you can use it with the latest version. https://github.com/marksands/dotcss
Re:Simple user styles for popular websites
by masonhensley on Tuesday February 26, 2013 @05:39PM
(#5289166)
Stylebot perhaps?
https://chrome.google.com/webstore/detail/stylebot/oiaejidbm...
Re:Simple user styles for popular websites
by deevus on Tuesday February 26, 2013 @08:57PM
(#5290018)
This question _should_ be answered on the given site.
I know I could Google to find out, but what about the general Facebook user? They won't know what CSS is.
Re:Simple user styles for popular websites
by dave1010uk on Wednesday February 27, 2013 @08:16AM
(#5292143)
Is there a way to get any of these working on an Android web browser?
Re:Simple user styles for popular websites
by randomchars on Wednesday February 27, 2013 @10:02AM
(#5292648)
Not in the default one or in chrome. Firefox however supports the Stylish extension.
Re:Simple user styles for popular websites
by russelluresti on Wednesday February 27, 2013 @02:33PM
(#5294324)
I'm using Stylebot.