JavaScript judges the browser type and 32-bit 64-bit, javascript32-bit
Determine the publishing book and browser type by JS
<Script type = "text/javascript"> var Sys ={}; var ua = navigator. userAgent. toLowerCase (); if (window. activeXObject) Sys. ie = ua. match (/msie ([\ d.] +)/) [1] else if (document. getBoxObjectFor) Sys. firefox = ua. match (/firefox \/([\ d.] +)/) [1] else if (window. messageEvent &&! Document. getBoxObjectFor) Sys. chrome = ua. match (/chrome \/([\ d.] +)/) [1] else if (window. opera) Sys. opera = ua. match (/opera. ([\ d.] +)/) [1] else if (window. openDatabase) Sys. safari = ua. match (/version \/([\ d.] +)/) [1]; // test if (Sys. ie) document. write ('ie: '+ Sys. ie); if (Sys. firefox) document. write ('Firefox: '+ Sys. firefox); if (Sys. chrome) document. write ('chrome: '+ Sys. chrome); if (Sys. opera) document. write ('Opera: '+ Sys. opera); if (Sys. safari) document. write ('safari: '+ Sys. safari); </script>
Document. write ("<br> OS:" + window. navigator. platform );
This is useless to 64, so you can barely use