OS icons w/ Browser

Sep 12 2008, 12:00 AM

Small update to the forum service while tinkering; I noticed that the ‘browser icon’ code that displays a small icon of what browser the user was running on the online list was surprisingly inefficient. I decided to rewrite the code, and the page sees an improvement speed wise (went from around 800-1000 ms to around 200ms only.)

While I was at it - I threw in a feature right quick that displays the operating system of the user with little icons such as for windows and for Linux. Thought it may be cool to see what OSes were being used as well. It was enabled in the online list only for a while by default until I worked out any issues, but now I’ve made an option in the JFB Admin CP.

Also, while I was at it, I added a few more browsers to the known browser database for the code, including the new Google Chrome

Having this information is mostly just fun to display but it can also be really useful to see what your overall audience uses. This helps when making decisions on how to add codes for your board that may not be cross browser, or even OS compatible at first.


No comments have been made yet on this article