From Gamboge Motmot, 4 Years ago, written in PHP.
Embed
  1.     <?php
  2.     $msie = strpos($_SERVER["HTTP_USER_AGENT"], 'MSIE') ? true : false;
  3.     $firefox = strpos($_SERVER["HTTP_USER_AGENT"], 'Firefox') ? true : false;
  4.     $safari = strpos($_SERVER["HTTP_USER_AGENT"], 'Safari') ? true : false;
  5.     $chrome = strpos($_SERVER["HTTP_USER_AGENT"], 'Chrome') ? true : false;
  6.     ?>