Quoth Nick: > 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.
One question should be whether these site-specific customisations should be compiled in or read as a configuration file. I suppose it depends whether people are often finding new websites that they want to set the behaviour of, or they stick to just a limited list. I have a slight preference for a separate configuration file that is read at runtime, as I think that would be more usable. Thoughts? Oh, btw, that related email of Christoph's I referenced earlier is this one: http://lists.suckless.org/dev/1401/19852.html