W3C home > Mailing lists > Public > www-style@w3.org > February 2009

URL CSS pseudo class

From: Charles-André Landemaine <landemaine@gmail.com>
Date: Mon, 9 Feb 2009 14:27:37 +0100
Message-ID: <e6575a30902090527m52b3bb9dj80277864a2051554@mail.gmail.com>
To: www-style@w3.org


A new CSS pseudo class to target a specific site would be really
helpful, especially for user styles. I could imagine a stylesheet that
uses some code like this one:


We could allow regular expressions also to match URLs with or without
the "www." prefix, "http" or "https", etc...

e.g. head:urlmatch(/http:\/\/ad\./)>body{display:none}

This would be easier to carry just one global user stylesheet instead
of one user style sheet per site (ex. Opera, Firefox Stylish ext.).
Thanks for your comprehension,

Charles-André Landemaine.
Received on Monday, 9 February 2009 13:28:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC