Natural selection browser switch
Olaf Jan Schmidt
ojschmidt at kde.org
Thu Mar 13 01:56:58 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[Mat Colton]
> today I read you are using a http header browser switch to determine
> which CSS to deliver. This is very insecure and a HACK!
No, we have a switch to determine whether to deliver CSS at all or not. If
you find a better solution, then let us know, but the suggestion you make
doesn't help, unfortunately.
> Please use the
> "natural selection" via CSS and JS DOM. First of all it is not a hack
> compared to a http browser switch and second it works. :)
This does not work if you include several style sheets to let the user
choose between them. Any other ideas?
The test I implemented to check for the correct browser is pretty
standard, I searched the web for possible problems but did not find any
browsers that would match the Netscape 4.x useragent without adding
"compatible".
But as I said, if you know a way to hide multiple style sheets from
Netscape (not possible with @import), then please let me know.
Olaf.
- --
Olaf Jan Schmidt, KDE Accessibility Project
KDEAP co-maintainer, maintainer of http://accessibility.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj5v5XUACgkQoLYC8AehV8ekRgCg4bsEGoOj8plYjvGlN/aIWCAN
GBYAoIm2+QGLaMvuBLhz0kvRqtP935bF
=z1nP
-----END PGP SIGNATURE-----
More information about the kde-www
mailing list