{"id":106,"date":"2010-12-14T12:46:35","date_gmt":"2010-12-14T12:46:35","guid":{"rendered":"http:\/\/www.aionshop.com\/?p=404"},"modified":"2010-12-14T12:46:35","modified_gmt":"2010-12-14T12:46:35","slug":"%e4%bf%ae%e6%94%b9%e6%ba%90%e7%a0%81-%e5%ae%9e%e7%8e%b0%e5%8f%8c%e5%87%bb%e5%85%b3%e9%97%adfirefox%e6%a0%87%e7%ad%be%e9%a1%b5","status":"publish","type":"post","link":"http:\/\/0004.xyz\/?p=106","title":{"rendered":"\u4fee\u6539\u6e90\u7801\uff0c\u5b9e\u73b0\u53cc\u51fb\u5173\u95edfirefox\u6807\u7b7e\u9875"},"content":{"rendered":"<p><a href=\"http:\/\/www.aionshops.com\/usr\/uploads\/2010\/12\/firefox-browser-04.png\" class=\"highslide\" rel=\"highslide\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-433\" title=\"firefox-browser-04\" src=\"http:\/\/www.aionshops.com\/usr\/uploads\/2010\/12\/firefox-browser-04.png\" alt=\"\" width=\"128\" height=\"128\" \/><\/a>firefox\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 chrome\u76ee\u5f55\u4e0b\uff0c\u627e\u5230browser.jar\u8fd9\u4e2a\u6587\u4ef6<br \/>\n\u7528winrar\u89e3\u538bbrowser.jar\u8fd9\u4e2a\u6587\u4ef6\uff0c\u627e\u5230browser\\content\\browser\\tabbrowser.xml \u7528\u8bb0\u4e8b\u672c\u6216\u8005\u5176\u4ed6\u4efb\u4f55\u4e00\u4e2a\u6587\u672c\u7f16\u8f91\u5de5\u5177\u6253\u5f00\uff0c\u641c\u7d22<br \/>\n<code>&lt;method name=&quot;<span style=\"color: #8b0000;\">onTabBarDblClick<\/span>&quot;&gt;<\/code><\/p>\n<div>&lt;method name=&#8221;<span style=\"color: #8b0000;\">onTabBarDblClick<\/span>&#8220;&gt;<br \/>\n&lt;parameter name=&#8221;<span style=\"color: #8b0000;\">aEvent<\/span>&#8220;\/&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;![CDATA[<br \/>\n<span style=\"color: #008000;\">\/\/ See hack note in the tabbrowser-close-button binding<\/span><br \/>\n<span style=\"color: #0000ff;\">if<\/span> (!<span style=\"color: #0000ff;\">this<\/span>._blockDblClick &amp;&amp; aEvent.button == 0 &amp;&amp;<br \/>\naEvent.originalTarget.localName == &#8220;<span style=\"color: #8b0000;\">box<\/span>&#8220;) {<br \/>\n<span style=\"color: #008000;\">\/\/ *** this needs to check that we&#8217;re in the empty area of the tabstrip<\/span><br \/>\nvar e = document.createEvent(&#8220;<span style=\"color: #8b0000;\">Events<\/span>&#8220;);<br \/>\ne.initEvent(&#8220;<span style=\"color: #8b0000;\">NewTab<\/span>&#8220;, <span style=\"color: #0000ff;\">true<\/span>, <span style=\"color: #0000ff;\">true<\/span>);<br \/>\n<span style=\"color: #0000ff;\">this<\/span>.dispatchEvent(e);<br \/>\n}<br \/>\n]]&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/method&gt;<\/div>\n<p>\u8fd9\u91cc\u5c31\u662ffirefox\u5b9a\u4e49\u7684\u53cc\u51fb\u4e8b\u4ef6\uff0c\u7a0d\u6709\u57fa\u7840\u7684\u4eba\u4ece\u4e0a\u9762\u7684\u4ee3\u7801\u53ef\u4ee5\u770b\u5230\uff0cfirefox\u9ed8\u8ba4\u53ea\u5b9a\u4e49\u4e86\uff0c\u5728\u7a7a\u767d\u5904\u53cc\u51fb\u5de6\u952e\uff0c\u6253\u5f00\u65b0\u6807\u7b7e\u9875\u7684\u4e8b\u4ef6\uff0c<\/p>\n<p><!--more--><\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\u53ea\u6709 \u201dif\uff08\u5982\u679c)\u5728\u7a7a\u767d\u5904\u53cc\u51fb\u4e86\u5de6\u952e\u201c\u7684\u52a8\u4f5c\uff0c\u6211\u4eec\u53ef\u4ee5\u52a0\u4e0a\u4e00\u4e2a else\uff08\u90a3\u4e48\uff09\u7684\u60c5\u51b5\u3002<br \/>\n\u4fee\u6539\u540e\u7684\u4ee3\u7801\u5982\u4e0b\u6240\u793a<\/p>\n<div><code>&lt;method name=\"<span style=\"color: #8b0000;\">onTabBarDblClick<\/span>\"&gt;<br \/>\n&lt;parameter name=\"<span style=\"color: #8b0000;\">aEvent<\/span>\"\/&gt;<br \/>\n&lt;body&gt;<br \/>\n&lt;![CDATA[<br \/>\n<span style=\"color: #008000;\">\/\/ See hack note in the tabbrowser-close-button binding<\/span><br \/>\n<span style=\"color: #0000ff;\">if<\/span> (!<span style=\"color: #0000ff;\">this<\/span>._blockDblClick &amp;&amp; aEvent.button == 0 &amp;&amp;<br \/>\naEvent.originalTarget.localName == \"<span style=\"color: #8b0000;\">box<\/span>\") {<br \/>\n<span style=\"color: #008000;\">\/\/ *** this needs to check that we're in the empty area of the tabstrip<\/span><br \/>\nvar e = document.createEvent(\"<span style=\"color: #8b0000;\">Events<\/span>\");<br \/>\ne.initEvent(\"<span style=\"color: #8b0000;\">NewTab<\/span>\", <span style=\"color: #0000ff;\">true<\/span>, <span style=\"color: #0000ff;\">true<\/span>);<br \/>\n<span style=\"color: #0000ff;\">this<\/span>.dispatchEvent(e);<br \/>\n}<\/code><br \/>\n<span style=\"font-family: \u5b8b\u4f53; color: #ff0000; font-size: x-small;\"><strong>else {<br \/>\nthis.removeTab(this.mCurrentTab);<br \/>\n} <\/strong><\/span><br \/>\n]]&gt;<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/method&gt;\n<\/div>\n<p>\u7ea2\u8272\u52a0\u7c97\u90e8\u5206\u662f\u6dfb\u52a0\u7684\u4ee3\u7801<br \/>\n\u7136\u540e\u4fdd\u5b58\uff0c\u4f7f\u7528winrar\u538b\u7f29content\u6587\u4ef6\u5939\uff08\u8981\u5305\u542bcontent\u6587\u4ef6\u5939\uff09\u538b\u7f29\u65f6\u9009\u62e9zip\u538b\u7f29\uff0c\u5b8c\u6210\u540e\u5427\u538b\u7f29\u5305\u6539\u540d\u4e3abrowser.jar\u6587\u4ef6\uff0c\u66ff\u6362\u539f\u672cbrowser.jar\u6587\u4ef6\uff08\u9700\u8981\u5173\u95ed\u706b\u72d0\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>firefox\u7684\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684 chrome\u76ee\u5f55\u4e0b\uff0c\u627e\u5230browser.jar\u8fd9\u4e2a\u6587\u4ef6 \u7528winrar\u89e3\u538bbro [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"kt_blocks_editor_width":"","footnotes":""},"categories":[17],"tags":[206,209,208,207],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-share","tag-firefox","tag-209","tag-208","tag-207"],"_links":{"self":[{"href":"http:\/\/0004.xyz\/index.php?rest_route=\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/0004.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/0004.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/0004.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/0004.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=106"}],"version-history":[{"count":0,"href":"http:\/\/0004.xyz\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"http:\/\/0004.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/0004.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/0004.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}