Re: [dev] [surf] [PATCH] add per-site user styles

From: Nick <suckless-dev_AT_njw.me.uk>
Date: Mon, 17 Nov 2014 09:50:26 +0000

Quoth Markus Teich:
> since the css domain selectors do not work in webkit, another approach needs to
> be taken to support custom css for specific sites. In config.h there is now a
> list of regexes and corresponding css filenames. When a page is loaded and
> userstyles are active, the first entry that matches the uri is used as
> user-stylesheet-uri. The old static stylesheet is removed but can still be used
> by installing a default rule matching any site at the end of the list.

Great, I'm glad to see this, thanks for it. The opera inspired
browser hiro posted to the list reminded me of this functionality,
actually, and it's a good step towards more general customisable
settings per website (e.g. cookies, javascript), as Christoph
suggested a while ago.

I haven't read the code closely yet, but at least in design I think
this should definitely be upstream.
Received on Mon Nov 17 2014 - 10:50:26 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 17 2014 - 11:00:09 CET