website optimization

WebSiteOptimization.com

Higher traffic and speed guaranteed.™

   
   
Home Sitemap Publications Services About Contact
Newsletter:  
home > speed > 17 > 17-1.html

Chapter 17: Server-Side Techniques

Listing 17.1: XSSI Browser Sniffing

This conditional SSI code simulates JavaScript browser sniffing on the server using XSSI. The code simulates Peter Belesis' sniffer code for his Hiermenus and reports whether your browser is DHTML capable (isMENU, and DOM, IE4, or NS4). Here is the source.