Example #1
0
 /**
  * Returns a string containing a HTML meta tag for the WCPP-detection procedure.
  * 
  * The meta tag X-UA-Compatible is generated for Internet Explorer (IE) 10 or greater to emulate IE9. 
  * If this meta tag is not generated, then IE10 or greater will display some unwanted dialog box to 
  * the user when the WCPP-detection script is executed.
  * 
  * @return string A string containing a HTML meta tag for the WCPP-detection procedure.
  */
 public static function getWcppDetectionMetaTag()
 {
     return Utils::isIE10orGreater() ? '<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />' : '';
 }