1
I was reading a story on A List Apart about sniffing browsers to determine what level of PNG support they have. It got me wondering...
1. Will Xoops2 implement a browser sniffer?
2. If so, which file is it in, if someone wants to tweak it?
3. If not, which file would it be best to add it to... perhaps a skin file?
If there are not plans to have a sniffer built-in, it just seemed to me like a nice check-box feature that one could enable if they needed to. If it exposed a standard set of variables in Xoops, then module developers could look to that standard set when features don't work the same in all browsers (such as WYSIWYG editing).
In my case, I am mostly interested in it to be able to know which browsers I can offer transparent PNG, non-transparent PNG, or ancient GIF to.
Anyways, if you have suggestions for which file is best suited for having the sniffer code copied into it, that would be great. Otherwise, I hope the links are interesting and useful.
Browser Detect LiteUltimate Client SnifferA List Apart: Cross-Browser PNG Transparency