00000001.htm

来自「水木清华BBS」· HTM 代码 · 共 677 行 · 第 1/5 页

HTM
677
字号
recommended&nbsp;unless&nbsp;your&nbsp;HTML&nbsp;page&nbsp;is&nbsp;browsed&nbsp;by&nbsp;users&nbsp;in&nbsp;a&nbsp;<BR>homogeneous&nbsp;environment.&nbsp;The&nbsp;Java&nbsp;Plug-in&nbsp;HTML&nbsp;Converter&nbsp;from&nbsp;<BR>Sun&nbsp;Microsystems&nbsp;automatically&nbsp;converts&nbsp;HTML&nbsp;pages&nbsp;into&nbsp;this&nbsp;<BR>tag&nbsp;style&nbsp;for&nbsp;you.&nbsp;<BR>Java&nbsp;Plug-in&nbsp;Anywhere&nbsp;<BR>In&nbsp;an&nbsp;Internet/intranet&nbsp;environment,&nbsp;an&nbsp;HTML&nbsp;page&nbsp;is&nbsp;likely&nbsp;to&nbsp;<BR>be&nbsp;seen&nbsp;by&nbsp;browsers&nbsp;on&nbsp;different&nbsp;platforms.&nbsp;You&nbsp;should&nbsp;activate&nbsp;<BR>Java&nbsp;Plug-in&nbsp;only&nbsp;on&nbsp;the&nbsp;right&nbsp;browser&nbsp;and&nbsp;platform&nbsp;combination.&nbsp;<BR>Otherwise,&nbsp;you&nbsp;should&nbsp;use&nbsp;the&nbsp;browser's&nbsp;default&nbsp;JVM.&nbsp;You&nbsp;can&nbsp;<BR>achieve&nbsp;this&nbsp;using&nbsp;the&nbsp;following&nbsp;Java&nbsp;Plug-in&nbsp;tag:&nbsp;<BR>Original&nbsp;APPLET&nbsp;tag:&nbsp;<BR>&lt;APPLET&nbsp;code=&quot;XYZApp.class&quot;&nbsp;codebase=&quot;html/&quot;&nbsp;align=&quot;baseline&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;200&quot;&nbsp;height=&quot;200&quot;&gt;&nbsp;<BR>&lt;PARAM&nbsp;NAME=&quot;model&quot;&nbsp;VALUE=&quot;models/HyaluronicAcid.xyz&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;JDK&nbsp;1.2&nbsp;support&nbsp;for&nbsp;APPLET!!&nbsp;<BR>&lt;/APPLET&gt;&nbsp;<BR>New&nbsp;style&nbsp;tag:&nbsp;<BR>The&nbsp;following&nbsp;is&nbsp;an&nbsp;example&nbsp;of&nbsp;an&nbsp;equivalent&nbsp;Java&nbsp;Plug-in&nbsp;tag.&nbsp;<BR>This&nbsp;example&nbsp;includes&nbsp;comments.&nbsp;<BR>&lt;!--&nbsp;The&nbsp;following&nbsp;code&nbsp;is&nbsp;specified&nbsp;at&nbsp;the&nbsp;beginning&nbsp;of&nbsp;the&nbsp;&lt;BODY&gt;&nbsp;tag.&nbsp;--&gt;&nbsp;<BR>&lt;SCRIPT&nbsp;LANGUAGE=&quot;JavaScript&quot;&gt;&lt;!--&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;_info&nbsp;=&nbsp;navigator.userAgent;&nbsp;var&nbsp;_ns&nbsp;=&nbsp;false;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;_ie&nbsp;=&nbsp;(_info.indexOf(&quot;MSIE&quot;)&nbsp;&gt;&nbsp;0&nbsp;&amp;&amp;&nbsp;_info.indexOf(&quot;Win&quot;)&nbsp;&gt;&nbsp;0&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&amp;&nbsp;_info.indexOf(&quot;Windows&nbsp;3.1&quot;)&nbsp;&lt;&nbsp;0);&nbsp;<BR>//--&gt;&lt;/SCRIPT&gt;&nbsp;<BR>&lt;COMMENT&gt;&lt;SCRIPT&nbsp;LANGUAGE=&quot;JavaScript1.1&quot;&gt;&lt;!--&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;_ns&nbsp;=&nbsp;(navigator.appName.indexOf(&quot;Netscape&quot;)&nbsp;&gt;=&nbsp;0&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&amp;&nbsp;((_info.indexOf(&quot;Win&quot;)&nbsp;&gt;&nbsp;0&nbsp;&amp;&amp;&nbsp;_info.indexOf(&quot;Win16&quot;)&nbsp;&lt;&nbsp;0&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&amp;&nbsp;java.lang.System.getProperty(&quot;os.version&quot;).indexOf(&quot;3.5&quot;)&nbsp;&lt;&nbsp;0)&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;||&nbsp;_info.indexOf(&quot;Sun&quot;)&nbsp;&gt;&nbsp;0));&nbsp;<BR>//--&gt;&lt;/SCRIPT&gt;&lt;/COMMENT&gt;&nbsp;<BR>&lt;!--&nbsp;The&nbsp;following&nbsp;code&nbsp;is&nbsp;repeated&nbsp;for&nbsp;each&nbsp;APPLET&nbsp;tag&nbsp;--&gt;&nbsp;<BR>&lt;SCRIPT&nbsp;LANGUAGE=&quot;JavaScript&quot;&gt;&lt;!--&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(_ie&nbsp;==&nbsp;true)&nbsp;document.writeln('&nbsp;<BR>&lt;OBJECT&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;classid=&quot;clsid:8AD9C840-044E-11D1-B3E9-00805F499D93&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;200&quot;&nbsp;height=&quot;200&quot;&nbsp;align=&quot;baseline&quot;&nbsp;<BR>codebase=&quot;<A HREF="http://java.sun.com/products/plugin/1.2/">http://java.sun.com/products/plugin/1.2/</A>&nbsp;<BR>jinstall-12-win32.cab#Version=1,2,0,0&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;NOEMBED&gt;&lt;XMP&gt;');&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;else&nbsp;if&nbsp;(_ns&nbsp;==&nbsp;true)&nbsp;document.writeln('&nbsp;<BR>&lt;EMBED&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;type=&quot;application/x-java-applet;version=1.2&quot;&nbsp;width=&quot;200&quot;&nbsp;height=&quot;200&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;align=&quot;baseline&quot;&nbsp;code=&quot;XYZApp.class&quot;&nbsp;codebase=&quot;html/&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;model=&quot;models/HyaluronicAcid.xyz&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;pluginspage=&quot;<A HREF="http://java.sun.com/products/plugin/1.2/plugin-install.html">">http://java.sun.com/products/plugin/1.2/plugin-install.html"></A>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;NOEMBED&gt;&lt;XMP&gt;');&nbsp;<BR>//--&gt;&lt;/SCRIPT&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&lt;APPLET&nbsp;code=&quot;XYZApp.class&quot;&nbsp;codebase=&quot;html/&quot;&nbsp;align=&quot;baseline&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;200&quot;&nbsp;height=&quot;200&quot;&gt;&nbsp;<BR>&lt;/XMP&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM&nbsp;NAME=&quot;java_code&quot;&nbsp;VALUE=&quot;XYZApp.class&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM&nbsp;NAME=&quot;java_codebase&quot;&nbsp;VALUE=&quot;html/&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM&nbsp;NAME=&quot;java_type&quot;&nbsp;VALUE=&quot;application/x-java-applet;version=1.2&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM&nbsp;NAME=&quot;model&quot;&nbsp;VALUE=&quot;models/HyaluronicAcid.xyz&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;JDK&nbsp;1.2&nbsp;support&nbsp;for&nbsp;APPLET!!&nbsp;<BR>&lt;/APPLET&gt;&lt;/NOEMBED&gt;&lt;/EMBED&gt;&nbsp;<BR>&lt;/OBJECT&gt;&nbsp;<BR>&lt;!--&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;APPLET&nbsp;code=&quot;XYZApp.class&quot;&nbsp;codebase=&quot;html/&quot;&nbsp;align=&quot;baseline&quot;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;width=&quot;200&quot;&nbsp;height=&quot;200&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;PARAM&nbsp;NAME=&quot;model&quot;&nbsp;VALUE=&quot;models/HyaluronicAcid.xyz&quot;&gt;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;No&nbsp;JDK&nbsp;1.2&nbsp;support&nbsp;for&nbsp;APPLET!!&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/APPLET&gt;&nbsp;<BR>--&gt;&nbsp;<BR>&nbsp;<BR>&nbsp;&nbsp;Although&nbsp;this&nbsp;tag&nbsp;seems&nbsp;complicated&nbsp;compared&nbsp;to&nbsp;the&nbsp;old&nbsp;APPLET&nbsp;<BR>tag,&nbsp;it&nbsp;is&nbsp;not.&nbsp;Most&nbsp;of&nbsp;the&nbsp;Java&nbsp;Plug-in&nbsp;tag&nbsp;is&nbsp;the&nbsp;same&nbsp;regardless&nbsp;<BR>of&nbsp;the&nbsp;applet&nbsp;used.&nbsp;For&nbsp;the&nbsp;majority&nbsp;of&nbsp;cases,&nbsp;a&nbsp;webmaster&nbsp;can&nbsp;copy&nbsp;<BR>and&nbsp;paste&nbsp;the&nbsp;Java&nbsp;Plug-in&nbsp;tag.&nbsp;<BR>The&nbsp;first&nbsp;block&nbsp;of&nbsp;the&nbsp;script&nbsp;extracts&nbsp;the&nbsp;browser&nbsp;and&nbsp;platform.&nbsp;You&nbsp;<BR>must&nbsp;determine&nbsp;the&nbsp;browser&nbsp;and&nbsp;platform&nbsp;on&nbsp;which&nbsp;the&nbsp;applet&nbsp;is&nbsp;running.&nbsp;<BR>You&nbsp;do&nbsp;this&nbsp;by&nbsp;using&nbsp;JavaScriptTM&nbsp;to&nbsp;extract&nbsp;first&nbsp;the&nbsp;browser&nbsp;name,&nbsp;<BR>then&nbsp;the&nbsp;platform.&nbsp;This&nbsp;is&nbsp;done&nbsp;once&nbsp;per&nbsp;HTML&nbsp;document.&nbsp;<BR>The&nbsp;second&nbsp;block&nbsp;of&nbsp;the&nbsp;script&nbsp;replaces&nbsp;the&nbsp;APPLET&nbsp;tag.&nbsp;You&nbsp;must&nbsp;<BR>replace&nbsp;each&nbsp;APPLET&nbsp;tag&nbsp;with&nbsp;a&nbsp;similar&nbsp;block&nbsp;of&nbsp;code.&nbsp;The&nbsp;script&nbsp;<BR>replaces&nbsp;the&nbsp;APPLET&nbsp;tag&nbsp;with&nbsp;either&nbsp;an&nbsp;EMBED&nbsp;tag&nbsp;or&nbsp;OBJECT&nbsp;tag,&nbsp;<BR>depending&nbsp;on&nbsp;the&nbsp;browser.&nbsp;You&nbsp;use&nbsp;the&nbsp;OBJECT&nbsp;tag&nbsp;for&nbsp;IE&nbsp;and&nbsp;the&nbsp;<BR>EMBED&nbsp;tag&nbsp;for&nbsp;Netscape&nbsp;Navigator.&nbsp;Finally,&nbsp;the&nbsp;original&nbsp;APPLET&nbsp;tag&nbsp;<BR>is&nbsp;included&nbsp;as&nbsp;a&nbsp;comment&nbsp;at&nbsp;the&nbsp;end.&nbsp;It&nbsp;is&nbsp;always&nbsp;a&nbsp;good&nbsp;idea&nbsp;to&nbsp;<BR>keep&nbsp;the&nbsp;original&nbsp;APPLET&nbsp;tag&nbsp;in&nbsp;case&nbsp;you&nbsp;want&nbsp;to&nbsp;remove&nbsp;the&nbsp;Java&nbsp;<BR>Plug-in&nbsp;invocation.&nbsp;<BR>The&nbsp;first&nbsp;JavaScript&nbsp;establishes&nbsp;the&nbsp;browser&nbsp;and&nbsp;the&nbsp;platform&nbsp;on&nbsp;<BR>which&nbsp;the&nbsp;browser&nbsp;is&nbsp;running.&nbsp;You&nbsp;must&nbsp;do&nbsp;this&nbsp;because,&nbsp;currently,&nbsp;<BR>Java&nbsp;Plug-in&nbsp;supports&nbsp;only&nbsp;Windows&nbsp;95,&nbsp;Windows&nbsp;98,&nbsp;Windows&nbsp;NT&nbsp;4.0,&nbsp;<BR>and&nbsp;Solaris.&nbsp;Note&nbsp;that&nbsp;Windows&nbsp;NT&nbsp;3.51&nbsp;is&nbsp;the&nbsp;only&nbsp;Win32&nbsp;platform&nbsp;<BR>that&nbsp;Java&nbsp;Plug-in&nbsp;does&nbsp;not&nbsp;support.&nbsp;Java&nbsp;Plug-in&nbsp;should&nbsp;be&nbsp;invoked&nbsp;<BR>only&nbsp;on&nbsp;the&nbsp;supported&nbsp;browser&nbsp;and&nbsp;platform.&nbsp;The&nbsp;script&nbsp;sets&nbsp;the&nbsp;<BR>variable&nbsp;_ie&nbsp;to&nbsp;true&nbsp;if&nbsp;the&nbsp;browser&nbsp;is&nbsp;Internet&nbsp;Explorer.&nbsp;It&nbsp;sets&nbsp;<BR>the&nbsp;variable&nbsp;_ns&nbsp;to&nbsp;true&nbsp;if&nbsp;the&nbsp;browser&nbsp;is&nbsp;Navigator.&nbsp;(Note&nbsp;that&nbsp;<BR>all&nbsp;variable&nbsp;names&nbsp;in&nbsp;the&nbsp;JavaScript&nbsp;start&nbsp;with&nbsp;&quot;_&quot;.&nbsp;This&nbsp;is&nbsp;done&nbsp;<BR>to&nbsp;avoid&nbsp;conflicting&nbsp;with&nbsp;other&nbsp;JavaScript&nbsp;variables&nbsp;in&nbsp;the&nbsp;same&nbsp;<BR>page.)&nbsp;<BR>To&nbsp;detect&nbsp;the&nbsp;right&nbsp;browser,&nbsp;the&nbsp;JavaScript&nbsp;evaluates&nbsp;three&nbsp;strings&nbsp;<BR>that&nbsp;are&nbsp;within&nbsp;the&nbsp;JavaScript's&nbsp;Navigator&nbsp;object:&nbsp;userAgent,&nbsp;<BR>appVersion,&nbsp;and&nbsp;appName.&nbsp;These&nbsp;strings&nbsp;contain&nbsp;information&nbsp;about&nbsp;<BR>the&nbsp;browser&nbsp;and&nbsp;the&nbsp;platform.&nbsp;By&nbsp;looking&nbsp;at&nbsp;some&nbsp;examples&nbsp;of&nbsp;the&nbsp;<BR>string&nbsp;userAgent,&nbsp;you&nbsp;can&nbsp;see&nbsp;how&nbsp;to&nbsp;evaluate&nbsp;userAgent&nbsp;and&nbsp;use&nbsp;it&nbsp;<BR>to&nbsp;determine&nbsp;the&nbsp;browser.&nbsp;The&nbsp;following&nbsp;are&nbsp;some&nbsp;examples&nbsp;of&nbsp;the&nbsp;<BR>userAgent&nbsp;string&nbsp;for&nbsp;different&nbsp;platforms&nbsp;as&nbsp;it&nbsp;appears&nbsp;in&nbsp;Internet&nbsp;<BR>Explorer.&nbsp;<BR>Platform&nbsp;and&nbsp;Browser&nbsp;JavaScript's&nbsp;Navigator.userAgent&nbsp;string&nbsp;<BR>Windows&nbsp;NT&nbsp;4.0&nbsp;w/IE&nbsp;4.0&nbsp;&quot;Mozilla/4.0&nbsp;(compatible;&nbsp;MSIE&nbsp;4.0;&nbsp;Windows&nbsp;NT)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;4.0&nbsp;w/IE&nbsp;3.02&nbsp;&quot;Mozilla/2.0&nbsp;(compatible;&nbsp;MSIE&nbsp;3.02;&nbsp;Windows&nbsp;NT)&quot;&nbsp;<BR>Windows&nbsp;95&nbsp;w/IE&nbsp;4.0&nbsp;&quot;Mozilla/4.0&nbsp;(compatible;&nbsp;MSIE&nbsp;4.0;&nbsp;Windows&nbsp;95)&quot;&nbsp;<BR>Windows&nbsp;95&nbsp;w/IE&nbsp;3.02&nbsp;&quot;Mozilla/2.0&nbsp;(compatible;&nbsp;MSIE&nbsp;3.02;&nbsp;Windows&nbsp;95)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;3.51&nbsp;w/IE&nbsp;4.0&nbsp;&quot;Mozilla/4.0&nbsp;(compatible;&nbsp;MSIE&nbsp;4.0;&nbsp;Windows&nbsp;3.1)&quot;&nbsp;<BR>Windows&nbsp;3.1&nbsp;w/IE&nbsp;4.0&nbsp;&quot;Mozilla/4.0&nbsp;(compatible;&nbsp;MSIE&nbsp;4.0;&nbsp;Windows&nbsp;3.1)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;4.0&nbsp;w/Navigator&nbsp;4.04&nbsp;&quot;Mozilla/4.04&nbsp;[en]&nbsp;(WinNT;&nbsp;I)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;4.0&nbsp;w/Navigator&nbsp;3.04&nbsp;&quot;Mozilla/3.04&nbsp;(WinNT;&nbsp;I)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;3.51&nbsp;w/Navigator&nbsp;4.04&nbsp;&nbsp;&quot;Mozilla/4.04&nbsp;[en]&nbsp;(WinNT;&nbsp;I)&quot;&nbsp;<BR>Windows&nbsp;NT&nbsp;3.51&nbsp;w/Navigator&nbsp;3.04&nbsp;&nbsp;&quot;Mozilla/3.04&nbsp;(WinNT;&nbsp;I)&quot;&nbsp;<BR>Windows&nbsp;95&nbsp;w/Navigator&nbsp;4.03&nbsp;&quot;Mozilla/4.03&nbsp;[en]&nbsp;(Win95;&nbsp;I)&quot;&nbsp;<BR>Windows&nbsp;95&nbsp;w/Navigator&nbsp;3.03&nbsp;&quot;Mozilla/3.03&nbsp;(Win95;&nbsp;I)&quot;&nbsp;<BR>Solaris&nbsp;2.6&nbsp;w/Navigator&nbsp;4.02&nbsp;&quot;Mozilla/4.02&nbsp;[en]&nbsp;(X11;&nbsp;l;&nbsp;SunOS&nbsp;5.6&nbsp;sun4u)&nbsp;<BR>/*&nbsp;&nbsp;此处删去了一个表格。&nbsp;*/&nbsp;<BR>&nbsp;&nbsp;The&nbsp;above&nbsp;table&nbsp;shows&nbsp;that&nbsp;only&nbsp;Windows&nbsp;95&nbsp;and&nbsp;Windows&nbsp;NT&nbsp;4.0&nbsp;with&nbsp;IE&nbsp;<BR>can&nbsp;pass&nbsp;the&nbsp;Java&nbsp;Plug-in&nbsp;browser&nbsp;and&nbsp;platform&nbsp;requirements.&nbsp;However,&nbsp;<BR>this&nbsp;logic&nbsp;makes&nbsp;no&nbsp;assumptions&nbsp;about&nbsp;future&nbsp;releases&nbsp;of&nbsp;IE&nbsp;or&nbsp;future&nbsp;<BR>releases&nbsp;of&nbsp;Windows&nbsp;with&nbsp;IE.&nbsp;As&nbsp;long&nbsp;as&nbsp;the&nbsp;userAgent&nbsp;string&nbsp;contains&nbsp;<BR>&quot;MSIE&quot;&nbsp;and&nbsp;&quot;Win&quot;,&nbsp;the&nbsp;above&nbsp;code&nbsp;should&nbsp;work&nbsp;in&nbsp;future&nbsp;releases&nbsp;of&nbsp;<BR>IE&nbsp;on&nbsp;Win32.&nbsp;<BR>The&nbsp;above&nbsp;logic&nbsp;summarizes&nbsp;into&nbsp;the&nbsp;following:&nbsp;<BR>&nbsp;<BR>&lt;SCRIPT&nbsp;LANGUAGE=&quot;JavaScript&quot;&gt;&lt;!--&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;_info&nbsp;=&nbsp;navigator.userAgent;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;_ie&nbsp;=&nbsp;(_info.indexOf(&quot;MSIE&quot;)&nbsp;&gt;&nbsp;0&nbsp;&amp;&amp;&nbsp;_info.indexOf(&quot;Win&quot;)&nbsp;&gt;&nbsp;0&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&amp;&amp;&nbsp;_info.indexOf(&quot;Windows&nbsp;3.1&quot;)&nbsp;&lt;&nbsp;0);&nbsp;<BR>//--&gt;&lt;/SCRIPT&gt;&nbsp;<BR>&nbsp;<BR>&nbsp;&nbsp;It&nbsp;is&nbsp;harder&nbsp;to&nbsp;detect&nbsp;Navigator&nbsp;on&nbsp;the&nbsp;right&nbsp;platform.&nbsp;Using&nbsp;just&nbsp;<BR>JavaScript,&nbsp;there&nbsp;is&nbsp;no&nbsp;way&nbsp;to&nbsp;determine&nbsp;if&nbsp;the&nbsp;browser&nbsp;is&nbsp;running&nbsp;<BR>on&nbsp;the&nbsp;Windows&nbsp;NT&nbsp;3.51&nbsp;or&nbsp;Windows&nbsp;NT&nbsp;4.0&nbsp;operating&nbsp;platform.&nbsp;(Refer&nbsp;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?