News for hackers. Stuff that matters.
Re:User stylesheet support removed in Chrome 33 by leobelle on Sunday March 02, 2014 @01:37PM (#7330149)
It's trivial to write your own stylesheet. Create a directory, put a manifest.json with a content_scripts and a css attribute plus a matching attribute and then your css file. Like this:

https://gist.github.com/anonymous/9311394

Then turn on developer mode in extensions and load the directory. I made this while writing this comment, that's how easy it is.

Re:User stylesheet support removed in Chrome 33 by hoohoo on Sunday March 02, 2014 @02:05PM (#7330285)
This is why developers need to REALLY understand they are not like other people when building product -----

1)Create a directory [fair enough] 2)put a manifest.json 2a) Add content_scripts 2b) css attribute 2b) plus a matching attribute and 3)css file. 4)Turn on developer mode 5) Load directory

Re:User stylesheet support removed in Chrome 33 by haberman on Sunday March 02, 2014 @03:23PM (#7330609)
Do you really think non-developers are creating user stylesheets to begin with?

As the commit message notes, the current setup already requires putting a .css file in the right location inside the user-data-dir.

Re:User stylesheet support removed in Chrome 33 by sirn on Sunday March 02, 2014 @06:44PM (#7331266)
As author of Safari User CSS extension[1], most of support email I've ever got are from non-developers. There are many kind I can recall, from those who simply want to adjust font sizes of a site permanently, to following tutorials on website on how to customize YouTube layout, to those that wrote userstyles on their own. I even got questions like "how do I turn Google black"/"how do I remove x from this url" sometimes.

I'm not sure about Chrome, but Safari had a similar feature but it lacked a way to scope stylesheets to certain domain. If Chrome userstyles behaves the same way then I don't think this change will affect those users anyway since being able to scope userstyles to certain domain seems very important to them.

[1] http://code.grid.in.th

Re:User stylesheet support removed in Chrome 33 by ubernostrum on Sunday March 02, 2014 @06:29PM (#7331226)
I have had to walk people through the process of downloading a user stylesheet and setting it up for use, typically for accessibility purposes.

I don't want to imagine that process getting even more complex than it already is.

Re:User stylesheet support removed in Chrome 33 by haberman on Monday March 03, 2014 @01:47AM (#7332384)
An extension like Stylish makes it much easier to install a custom stylesheet than the standard "user stylesheet" feature. Not harder.
Re:User stylesheet support removed in Chrome 33 by userbinator on Sunday March 02, 2014 @09:44PM (#7331754)
> Do you really think non-developers are creating user stylesheets to begin with?

Then ask yourself why they are called user stylesheets?

IMHO all these attempts at taking away features "because most of the users won't ever use them" or similar reasons, and then saying "but developers can just do {more complicated thing}, it's better" is a terribly wrong direction that a lot of software seems to be heading in.

"Most of the users won't ever use them" is definitely a valid observation, but how about the ones who do? They probably use them because they discovered that feature and decided to play with it more, learn about it, and found out how useful it could be. By removing them, many more who would've otherwise discovered them will not, they will have a harder time learning about these things that benefit them, and instead remain ignorant. I find this to be almost patronising.

Re:User stylesheet support removed in Chrome 33 by haberman on Monday March 03, 2014 @01:42AM (#7332375)
This isn't "taking a feature away." It is deciding that such a feature is better implemented in extensions.

An extension like this: https://chrome.google.com/webstore/detail/stylish/fjnbnpbmke...

Re:User stylesheet support removed in Chrome 33 by RexRollman on Sunday March 02, 2014 @04:37PM (#7330874)
I have seen more than a few Linux screenshots with customized Xdefaults and customized user stylesheets. Granted, they are advanced user, but they were not developers.
Re:User stylesheet support removed in Chrome 33 by rynes on Monday March 03, 2014 @11:11PM (#7338409)
I am a non dev. I just tried the recipe provided by leobelle using the files provided in gist.github and it works fine. I had to change "matches" to use "<all_urls>" though. ------------------- Now I get a popup whenever I start Chrome telling me to disable developer mode extensions -- how to get rid of that?
Re:User stylesheet support removed in Chrome 33 by lucian1900 on Sunday March 02, 2014 @03:22PM (#7330604)
Only a developer would be writing CSS, though.
Re:User stylesheet support removed in Chrome 33 by andytuba on Sunday March 02, 2014 @03:29PM (#7330625)
Maybe only developers would write CSS from scratch, but there are plenty of non-devs who are capable of finding CSS snippets (e.g. on userstyles.org) and adding it to some sort of user stylesheet. However, once they're lost once the process gets beyond "find your user stylesheet at this path" or "click to install with Stylish."
Re:User stylesheet support removed in Chrome 33 by userbinator on Sunday March 02, 2014 @10:02PM (#7331810)
Are you implying that "non-developers" should be discouraged from doing so? Would you agree if CSS was replaced with HTML?

Consider that many people learned how to write their own webpages with nothing more than a browser and a text editor, and the simplicity and soft error recovery characteristics of HTML is what I think was responsible for a large part of the Internet's growth. The barrier to entry was low, so it was easy to participate. Many people I know learned how to create webpages this way, largely by example (i.e. view source). Many of them also learned a bit of CSS too. These users produced and consumed content. But now, all I see is a growing divide between "users" and "developers", with these changes in browsers both reflecting and encouraging it, and I can't see that as being at all a good thing.

Re:User stylesheet support removed in Chrome 33 by Filligree on Sunday March 02, 2014 @01:47PM (#7330189)
Or install Stylish, which makes it even simpler.
Re:User stylesheet support removed in Chrome 33 by leobelle on Sunday March 02, 2014 @02:18PM (#7330335)
The problem with Stylish is the same problem with every other chrome extension. It can access all your data on all websites. It can surreptitiously autoupdate. I wouldn't want a person I knew to look over my shoulder while typing in my banking password, but I'm going to trust this extension with everything? I have ghostery and ad-block plus, and that's scary enough. That's it, that and my own extensions. I don't know anything about who made Stylish.
Re:User stylesheet support removed in Chrome 33 by da_n on Sunday March 02, 2014 @05:29PM (#7331045)
I have this exact problem with a lot of extensions I would like to use, so I only actually use one that extension which I implicitly trust anyway, LastPass. Here's an example, I use both Mac and Linux but on Linux I would like to have a more native looking scrollbar. Such functionality exist as extensions but I really do not want to trust a scrollbar plugin to have access to all data on all my websites (this is the permission required). I have been slowly (painfully) moving back towards Firefox recently just because on Linux Chrome is so out of place, but the Chrome Dev Tools are still way better.
Re:User stylesheet support removed in Chrome 33 by arkitaip on Sunday March 02, 2014 @03:24PM (#7330612)
So why do you trust Chrome in the first place?
Re:User stylesheet support removed in Chrome 33 by jcampbell1 on Sunday March 02, 2014 @03:44PM (#7330678)
I assume that Google is giving me a free browser because it will drive traffic and revenue to the search engine. There is no reason for Google to be nefarious to make money.

I cannot guess the motivations of free plugin developers.

Re:User stylesheet support removed in Chrome 33 by dethstar on Sunday March 02, 2014 @04:06PM (#7330766)
Stylish is GPL v3, according to the FF addon page.
Re:User stylesheet support removed in Chrome 33 by noblethrasher on Sunday March 02, 2014 @03:58PM (#7330730)
Google's most valuable asset is its reputation; switching cost are still pretty low for most of their properties. But, not only does Google have a disincentive for being nefarious in that fashion, they're also under more scrutiny vis-à-vis Chrome (which would be effective even if it were not open source).
Re:User stylesheet support removed in Chrome 33 by phaer on Sunday March 02, 2014 @07:20PM (#7331357)
> they're also under more scrutiny vis-à-vis Chrome (which would be effective even if it were not open source).

Chrome is not open source. Chromium is, but they are not the same.

Re:User stylesheet support removed in Chrome 33 by leobelle on Sunday March 02, 2014 @05:00PM (#7330953)
You think Google would steal my banking information or my identity?
Re:User stylesheet support removed in Chrome 33 by dunham on Sunday March 02, 2014 @03:52PM (#7330713)
You can also just create a *.user.js file and drop it on the extensions page. (Still works in chrome 35.)
Re:User stylesheet support removed in Chrome 33 by kartikkumar on Sunday March 02, 2014 @01:54PM (#7330221)
That's awesome. Never knew that, though admittedly I've not really immersed myself in how Chrome extensions actually work. Thanks for the example! Learn something new everyday :)