OSDN Git Service

Version 0.6.168, fix X.UI.Repeater.
[pettanr/clientJs.git] / 0.6.x / js / 03_plugin / 00_XPlugin.js
index aa9daf9..7bd7e97 100644 (file)
@@ -1,24 +1,3 @@
-/*
- * VBS
- */
-
-if( false && 5 <= X_UA[ 'IE' ] && X_UA[ 'IE' ] < 11 ){
-       (function(){
-
-                var script = document.createElement( "script" ) ;
-                script[ "type" ] = "text/vbscript" ;
-                script.text = [
-                    "Function vba_IEBinaryToArrayBytes()\n" ,
-                    "  vba_IEBinaryToArrayBytes = 1\n" ,
-                    "End Function\n"
-                    ].join( "" ) ;
-                document.getElementsByTagName("head")[ 0 ].appendChild( script ) ;
-               
-               // alert( vba_IEBinaryToArrayBytes() );
-       })();
-       
-};
-
 
 /*
  * Flash Player 10 バージョン判別チェックリスト
@@ -95,7 +74,11 @@ var X_Pulgin_FLASH_VERSION =
                        navigator.mimeTypes &&
                        navigator.mimeTypes[ 'application/x-googlegears' ] &&
                        navigator.mimeTypes[ 'application/x-googlegears' ].enabledPlugin
-               );
+               ),
+       
+       X_Pulgin_VBS_ENABLED =
+               X_UA[ 'Windows' ] && !X_UA[ 'WinCE' ] && X_UA[ 'IE' ] < 11;
+
 
 /**
  * @namespace X.Pulgin