{% raw %} \n'); if (result) return name+' , '; else return ''; } } if (nav!="ie"){ if (list_plugins.indexOf("Shockwave Flash")!=-1){ check_some_plugins=check_some_plugins+', flash_yes'; } if (list_plugins.indexOf("QuickTime")!=-1){ check_some_plugins=check_some_plugins+', quicktime_yes'; } if (list_plugins.indexOf("Windows Media Player")!=-1){ check_some_plugins=check_some_plugins+', wmediaplayer_yes'; } if (list_plugins.indexOf("Adobe Acrobat")!=-1){ check_some_plugins=check_some_plugins+',acrobatreader_yes'; } } if(navigator.javaEnabled()==true){java="java_yes";}else{java="java_no";} //for not IE if (nav!="ie"){ if (navigator.mimeTypes["application/x-java-applet"]){ java_sun_ver="javasun_yes";} if (navigator.mimeTypes["application/x-java-applet;jpi-version=1.6.0_24"]){ java_sun_ver=java_sun_ver+" , javasun_ver_1.6_24_yes"; }//This java version 1.6.0_24 is problematic, the user should be updated } //for IE if (nav=="ie"){ //1.5->end nov 2009 //TODO:extract minor version var java_sun_ver = DetectActiveXObject("JavaWebStart.isInstalled","javasun_yes")+ DetectActiveXObject("JavaWebStart.isInstalled.1.4.2.0","javasun_ver_1.4_yes")+ DetectActiveXObject("JavaWebStart.isInstalled.1.5.0.0","javasun_ver_1.5_yes")+ DetectActiveXObject("JavaWebStart.isInstalled.1.6.0.0","javasun_ver_1.6_yes")+ DetectActiveXObject("JavaWebStart.isInstalled.1.7.0.0","javasun_ver_1.7_yes"); function DetectActiveXObject(ObjectName, name) { result = false; document.write(' \n'); if (result) return name+' , '; else return ''; } } function sendSniff(){ document.forms.sniff_nav_form.sniff_navigator.value="checked"; document.forms.sniff_nav_form.sniff_navigator_screen_size_w.value=screen_size_w; document.forms.sniff_nav_form.sniff_navigator_screen_size_h.value=screen_size_h; document.forms.sniff_nav_form.sniff_navigator_type_mimetypes.value=type_mimetypes; document.forms.sniff_nav_form.sniff_navigator_suffixes_mimetypes.value=suffixes_mimetypes; document.forms.sniff_nav_form.sniff_navigator_list_plugins.value=list_plugins; document.forms.sniff_nav_form.sniff_navigator_check_some_activex.value=check_some_activex; document.forms.sniff_nav_form.sniff_navigator_check_some_plugins.value=check_some_plugins; document.forms.sniff_nav_form.sniff_navigator_java.value=java; document.forms.sniff_nav_form.sniff_navigator_java_sun_ver.value=java_sun_ver; document.sniff_nav_form.submit(); } {% endraw %}
{# #}