diff options
author | tristantheb <tristantheb@gmail.com> | 2021-04-21 16:21:07 +0200 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2021-04-22 00:40:28 +0800 |
commit | e9bb21320278d88f6795525b4bb6c91b90711fcc (patch) | |
tree | 954e9ca33c74f55cacebf9929ba640caf0b88c4c /files/zh-tw/web/api/websockets_api | |
parent | 3c2908eafe5aacd2b98c1b4e23a8da28a120dbeb (diff) | |
download | translated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.tar.gz translated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.tar.bz2 translated-content-e9bb21320278d88f6795525b4bb6c91b90711fcc.zip |
KS: Removal of the least used macros
Diffstat (limited to 'files/zh-tw/web/api/websockets_api')
-rw-r--r-- | files/zh-tw/web/api/websockets_api/index.html | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/files/zh-tw/web/api/websockets_api/index.html b/files/zh-tw/web/api/websockets_api/index.html index 49adb03bd0..56f850a44f 100644 --- a/files/zh-tw/web/api/websockets_api/index.html +++ b/files/zh-tw/web/api/websockets_api/index.html @@ -142,14 +142,10 @@ original_slug: WebSockets <h3 id="Gecko_附註">Gecko 附註</h3> <p>Firefox 的 WebSockets 支援正在持續追蹤發展中的 WebSocket 規範。Firefox 6 實作底層協定版號 7,Firefox 7 實作協定版號 8(IETF 草案 10 的內容)。Firefox mobile 在 7.0 版支援 WebSocket。</p> <div class="geckoVersionNote"> - <p>{{ gecko_callout_heading("6.0") }}</p> - <p>Gecko 6.0 {{ geckoRelease("6.0") }} 之前,不該存在的 <code>WebSocket</code> 物件使得某些開發者認為 <code>WebSocket</code> 服務沒有前輟,此物件已被更名為 <code>MozWebSocket</code>。</p> + <p>Gecko 6.0 之前,不該存在的 <code>WebSocket</code> 物件使得某些開發者認為 <code>WebSocket</code> 服務沒有前輟,此物件已被更名為 <code>MozWebSocket</code>。</p> </div> <div class="geckoVersionNote"> - <p>{{ gecko_callout_heading("7.0") }}</p> - <p>自從 Gecko 7.0 {{ geckoRelease("7.0") }},偏好設定 <code>network.websocket.max-connections</code> 可以用來設定 WebSocket 連線同時開啟的最大個數。預設值為 200。</p> + <p>自從 Gecko 7.0,偏好設定 <code>network.websocket.max-connections</code> 可以用來設定 WebSocket 連線同時開啟的最大個數。預設值為 200。</p> </div> <div class="warning"> <strong>警告:</strong>雖然不是唯一的理由,但是目前 WebSockets 被 Firefox 4 與 5 禁用的關鍵原因是一個<a class="external" href="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html" title="http://www.ietf.org/mail-archive/web/hybi/current/msg04744.html">協定設計上的安全問題</a>,因此不建議在生產環境下使用這些 Firefox 版本的 WebSockets。若仍想測試 WebSockets,你可以開啟 <code>about:config</code> 並設定 <code>network.websocket.enabled</code> 的取值至 <code>true</code>,並需要同時設定 <code>network.websocket.override-security-block</code> 的取值至 <code>true</code> 才能允許 WebSocket 連線的初始化。</div> -<p>{{ HTML5ArticleTOC() }}</p> -<p>{{ languages ( {"en": "en/WebSockets", "es": "es/WebSockets"} ) }}</p> |