Re: Conditional userchrome.css?

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Jason Bassford wrote:
> Is there a method of applying a different set of userchrome.css
> entries based on what theme is currently selected? (In other words, if
> I'm using Modern then apply section X of userchrome.css, and if I'
> using Classic apply section Y?)

I doubt it, but ask in the .css-related groups

> Also, is there any way, via an XPI script, of determining the current
> user's Mozilla preferences directory?  (I'm assuming not because of
> salting and security, but I thought I'd ask.)

Sure, getFolder("Profile").
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.