aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api')
-rw-r--r--files/zh-cn/web/api/beforeunloadevent/index.html2
-rw-r--r--files/zh-cn/web/api/blobbuilder/index.html2
-rw-r--r--files/zh-cn/web/api/eventtarget/addeventlistener/index.html4
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onload/index.html2
-rw-r--r--files/zh-cn/web/api/htmlfieldsetelement/index.html2
-rw-r--r--files/zh-cn/web/api/idbobjectstore/index.html2
-rw-r--r--files/zh-cn/web/api/navigation_timing_api/index.html2
-rw-r--r--files/zh-cn/web/api/svganimatedangle/index.html2
-rw-r--r--files/zh-cn/web/api/svgcircleelement/index.html2
-rw-r--r--files/zh-cn/web/api/touch/radiusy/index.html2
-rw-r--r--files/zh-cn/web/api/touch/screenx/index.html2
-rw-r--r--files/zh-cn/web/api/touch/screeny/index.html2
-rw-r--r--files/zh-cn/web/api/touchevent/changedtouches/index.html2
-rw-r--r--files/zh-cn/web/api/touchevent/index.html2
-rw-r--r--files/zh-cn/web/api/web_workers_api/functions_and_classes_available_to_workers/index.html2
-rw-r--r--files/zh-cn/web/api/web_workers_api/structured_clone_algorithm/index.html2
-rw-r--r--files/zh-cn/web/api/webrtc_api/session_lifetime/index.html2
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html4
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onpopstate/index.html2
19 files changed, 21 insertions, 21 deletions
diff --git a/files/zh-cn/web/api/beforeunloadevent/index.html b/files/zh-cn/web/api/beforeunloadevent/index.html
index 69626e0ec7..6063ef1282 100644
--- a/files/zh-cn/web/api/beforeunloadevent/index.html
+++ b/files/zh-cn/web/api/beforeunloadevent/index.html
@@ -67,5 +67,5 @@ window.addEventListener("beforeunload", function( event ) {
<li>{{Event("load")}}</li>
<li>{{Event("beforeunload")}}</li>
<li>{{Event("unload")}}</li>
- <li><a href="http://www.whatwg.org/specs/web-apps/current-work/#prompt-to-unload-a-document" title="http://www.whatwg.org/specs/web-apps/current-work/#prompt-to-unload-a-document">卸载文档 — 提示卸载文档</a></li>
+ <li><a href="http://www.whatwg.org/specs/web-apps/current-work/#prompt-to-unload-a-document">卸载文档 — 提示卸载文档</a></li>
</ul>
diff --git a/files/zh-cn/web/api/blobbuilder/index.html b/files/zh-cn/web/api/blobbuilder/index.html
index 03248ac1e5..1750cc61c1 100644
--- a/files/zh-cn/web/api/blobbuilder/index.html
+++ b/files/zh-cn/web/api/blobbuilder/index.html
@@ -162,7 +162,7 @@ void append(
<ul>
<li>从Firefox 14开始,使用<code>MozBlobBuilder</code>会在Web控制台显示一条警告消息: <code>MozBlobBuilder</code>已被废弃,请使用{{ domxref("Blob") }}来代替.</li>
<li>从Firefox 18开始,<code>MozBlobBuilder</code>已被删除.</li>
- <li>WebKit has deprecated <code>WebKitBlobBuilder</code> and has made its support configurable. Currently Safari disables the feature in Nightly, so it will never likely to ship in the final version. On the other hand, Chrome, which has supported it since Chrome 8, still enables the feature. So Chrome might continue to support the feature. (See this <a class="external" href="http://trac.webkit.org/changeset/115666" title="http://trac.webkit.org/changeset/115666">WebKit changeset</a> for details).</li>
+ <li>WebKit has deprecated <code>WebKitBlobBuilder</code> and has made its support configurable. Currently Safari disables the feature in Nightly, so it will never likely to ship in the final version. On the other hand, Chrome, which has supported it since Chrome 8, still enables the feature. So Chrome might continue to support the feature. (See this <a class="external" href="http://trac.webkit.org/changeset/115666">WebKit changeset</a> for details).</li>
</ul>
<h2 id="相关链接">相关链接</h2>
<ul>
diff --git a/files/zh-cn/web/api/eventtarget/addeventlistener/index.html b/files/zh-cn/web/api/eventtarget/addeventlistener/index.html
index 05b9469b91..f9e79602af 100644
--- a/files/zh-cn/web/api/eventtarget/addeventlistener/index.html
+++ b/files/zh-cn/web/api/eventtarget/addeventlistener/index.html
@@ -45,7 +45,7 @@ Non-standard_inline}}); // Gecko/Mozilla only
</ul>
</dd>
<dt><code>useCapture</code>  {{optional_inline}}</dt>
- <dd>{{jsxref("Boolean")}},在DOM树中,注册了listener的元素, 是否要先于它下面的EventTarget,调用该listener。 当useCapture(设为true) 时,沿着DOM树向上冒泡的事件,不会触发listener。当一个元素嵌套了另一个元素,并且两个元素都对同一事件注册了一个处理函数时,所发生的事件冒泡和事件捕获是两种不同的事件传播方式。事件传播模式决定了元素以哪个顺序接收事件。进一步的解释可以查看 <a class="external" href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow" title="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">事件流</a> 及 <a href="http://www.quirksmode.org/js/events_order.html#link4">JavaScript Event order</a> 文档。 如果没有指定, <code>useCapture</code> 默认为 false 。 </dd>
+ <dd>{{jsxref("Boolean")}},在DOM树中,注册了listener的元素, 是否要先于它下面的EventTarget,调用该listener。 当useCapture(设为true) 时,沿着DOM树向上冒泡的事件,不会触发listener。当一个元素嵌套了另一个元素,并且两个元素都对同一事件注册了一个处理函数时,所发生的事件冒泡和事件捕获是两种不同的事件传播方式。事件传播模式决定了元素以哪个顺序接收事件。进一步的解释可以查看 <a class="external" href="http://www.w3.org/TR/DOM-Level-3-Events/#event-flow">事件流</a> 及 <a href="http://www.quirksmode.org/js/events_order.html#link4">JavaScript Event order</a> 文档。 如果没有指定, <code>useCapture</code> 默认为 false 。 </dd>
</dl>
<div class="note"><strong>注意:</strong> 对于事件目标上的事件监听器来说,事件会处于“目标阶段”,而不是冒泡阶段或者捕获阶段。在目标阶段的事件会触发该元素(即事件目标)上的所有监听器,而不在乎这个监听器到底在注册时<code>useCapture</code> 参数值是true还是false。</div>
@@ -661,7 +661,7 @@ window.addEventListener('scroll', function(event) {
<ul>
<li>{{domxref("EventTarget.removeEventListener()")}}</li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Creating_and_triggering_events">Creating and triggering custom events</a></li>
- <li><a class="external" href="http://www.quirksmode.org/js/this.html" title="http://www.quirksmode.org/js/this.html">More details on the use of <code>this</code> in event handlers</a></li>
+ <li><a class="external" href="http://www.quirksmode.org/js/this.html">More details on the use of <code>this</code> in event handlers</a></li>
</ul>
<div class="content-27EWd_0" id="translate-man-app">
diff --git a/files/zh-cn/web/api/globaleventhandlers/onload/index.html b/files/zh-cn/web/api/globaleventhandlers/onload/index.html
index a9a56d9c6b..3862a1aa88 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onload/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onload/index.html
@@ -66,7 +66,7 @@ translation_of: Web/API/GlobalEventHandlers/onload
<h3 id="Specification" name="Specification">规范</h3>
-<p>这个事件处理程序在  <a class="external" href="http://www.whatwg.org/html/#handler-window-onload" title="http://www.whatwg.org/html/#handler-window-onload">HTML</a> 中指定。</p>
+<p>这个事件处理程序在  <a class="external" href="http://www.whatwg.org/html/#handler-window-onload">HTML</a> 中指定。</p>
<h3 id="参见">参见</h3>
diff --git a/files/zh-cn/web/api/htmlfieldsetelement/index.html b/files/zh-cn/web/api/htmlfieldsetelement/index.html
index 51b93938c5..97b7692640 100644
--- a/files/zh-cn/web/api/htmlfieldsetelement/index.html
+++ b/files/zh-cn/web/api/htmlfieldsetelement/index.html
@@ -5,7 +5,7 @@ translation_of: Web/API/HTMLFieldSetElement
---
<p>{{ ApiRef() }}</p>
<h2 id="HTML_Field_Set_Element">HTML Field Set Element</h2>
-<p>DOM <code>fieldset</code> elements expose the <a class="external" href="http://dev.w3.org/html5/spec/forms.html#htmlfieldsetelement" title="http://dev.w3.org/html5/spec/forms.html#htmlfieldsetelement">HTMLFieldSetElement</a>  ({{ HTMLVersionInline(4) }} <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-7365882" title="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-7365882">HTMLFieldSetElement</a>) interface, which provides special properties and methods (beyond the regular <a href="../../../../zh-CN/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.</p>
+<p>DOM <code>fieldset</code> elements expose the <a class="external" href="http://dev.w3.org/html5/spec/forms.html#htmlfieldsetelement" title="http://dev.w3.org/html5/spec/forms.html#htmlfieldsetelement">HTMLFieldSetElement</a>  ({{ HTMLVersionInline(4) }} <a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-7365882">HTMLFieldSetElement</a>) interface, which provides special properties and methods (beyond the regular <a href="../../../../zh-CN/DOM/element" rel="internal">element</a> object interface they also have available to them by inheritance) for manipulating the layout and presentation of field-set elements.</p>
<h2 id="属性">属性</h2>
<p>以下属性除了 <strong>form</strong> 都是在 {{ HTMLVersionInline(5) }} 中新添加的.</p>
<table class="standard-table">
diff --git a/files/zh-cn/web/api/idbobjectstore/index.html b/files/zh-cn/web/api/idbobjectstore/index.html
index 172820799e..62eb51e71f 100644
--- a/files/zh-cn/web/api/idbobjectstore/index.html
+++ b/files/zh-cn/web/api/idbobjectstore/index.html
@@ -342,7 +342,7 @@ translation_of: Web/API/IDBObjectStore
<dl>
<dt><a href="/en/IndexedDB/IDBRequest" title="en/IndexedDB/IDBRequest">IDBRequest</a></dt>
- <dd>A request object on which subsequent events related to this operation are fired. As <a href="http://www.w3.org/TR/IndexedDB/#object-store-deletion-operation" title="http://www.w3.org/TR/IndexedDB/#object-store-deletion-operation">per spec</a> the result of the Object Store Deletion Operation algorithm is <code>undefined</code>, so it's not possible to know if some records were actually deleted by looking at the request result.</dd>
+ <dd>A request object on which subsequent events related to this operation are fired. As <a href="http://www.w3.org/TR/IndexedDB/#object-store-deletion-operation">per spec</a> the result of the Object Store Deletion Operation algorithm is <code>undefined</code>, so it's not possible to know if some records were actually deleted by looking at the request result.</dd>
</dl>
<h5 id="Exceptions_3">Exceptions</h5>
diff --git a/files/zh-cn/web/api/navigation_timing_api/index.html b/files/zh-cn/web/api/navigation_timing_api/index.html
index a0cc8c3d75..243e3f5088 100644
--- a/files/zh-cn/web/api/navigation_timing_api/index.html
+++ b/files/zh-cn/web/api/navigation_timing_api/index.html
@@ -137,7 +137,7 @@ var pageLoadTime = perfData.loadEventEnd - perfData.navigationStart;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">规范</h2>
<ul>
- <li><a class="external" href="http://www.w3.org/TR/navigation-timing/" title="http://www.w3.org/TR/navigation-timing/">https://w3c.github.io/navigation-timing/</a></li>
+ <li><a class="external" href="http://www.w3.org/TR/navigation-timing/">https://w3c.github.io/navigation-timing/</a></li>
</ul>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
diff --git a/files/zh-cn/web/api/svganimatedangle/index.html b/files/zh-cn/web/api/svganimatedangle/index.html
index ff9a9edcd9..05955b7429 100644
--- a/files/zh-cn/web/api/svganimatedangle/index.html
+++ b/files/zh-cn/web/api/svganimatedangle/index.html
@@ -32,7 +32,7 @@ translation_of: Web/API/SVGAnimatedAngle
</tr>
<tr>
<th scope="row">Normative document</th>
- <td><a class="external" href="http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedAngle" title="http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedAngle">SVG 1.1 (2nd Edition)</a></td>
+ <td><a class="external" href="http://www.w3.org/TR/SVG11/types.html#InterfaceSVGAnimatedAngle">SVG 1.1 (2nd Edition)</a></td>
</tr>
</tbody>
</table>
diff --git a/files/zh-cn/web/api/svgcircleelement/index.html b/files/zh-cn/web/api/svgcircleelement/index.html
index e087961f10..a956d4ec03 100644
--- a/files/zh-cn/web/api/svgcircleelement/index.html
+++ b/files/zh-cn/web/api/svgcircleelement/index.html
@@ -41,7 +41,7 @@ translation_of: Web/API/SVGCircleElement
</tr>
<tr>
<th scope="row">规范文档</th>
- <td><a class="external" href="http://www.w3.org/TR/SVG11/shapes.html#InterfaceSVGCircleElement" title="http://www.w3.org/TR/SVG11/shapes.html#InterfaceSVGCircleElement">SVG 1.1 (2nd Edition)</a></td>
+ <td><a class="external" href="http://www.w3.org/TR/SVG11/shapes.html#InterfaceSVGCircleElement">SVG 1.1 (2nd Edition)</a></td>
</tr>
</tbody>
</table>
diff --git a/files/zh-cn/web/api/touch/radiusy/index.html b/files/zh-cn/web/api/touch/radiusy/index.html
index 2243af5c73..7e76c7b6c3 100644
--- a/files/zh-cn/web/api/touch/radiusy/index.html
+++ b/files/zh-cn/web/api/touch/radiusy/index.html
@@ -18,7 +18,7 @@ translation_of: Web/API/Touch/radiusY
能够包围用户和触摸平面的接触面的最小椭圆的垂直轴(Y轴)半径.</dd>
</dl>
<h3 id="Specification" name="Specification">标准定义</h3>
-<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
+<p><a class="external" href="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
<h3 id="相关链接">相关链接</h3>
<ul>
<li>{{ domxref("Touch.radiusX") }}</li>
diff --git a/files/zh-cn/web/api/touch/screenx/index.html b/files/zh-cn/web/api/touch/screenx/index.html
index ef9ac6d9e0..afd76c8ba7 100644
--- a/files/zh-cn/web/api/touch/screenx/index.html
+++ b/files/zh-cn/web/api/touch/screenx/index.html
@@ -19,7 +19,7 @@ translation_of: Web/API/Touch/screenX
触点相对于屏幕左边沿的的X坐标. 不包含页面滚动的偏移量.</dd>
</dl>
<h3 id="Specification" name="Specification">标准定义</h3>
-<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
+<p><a class="external" href="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
<h3 id="相关链接">相关链接</h3>
<ul>
<li>{{ domxref("Touch.screenY") }}</li>
diff --git a/files/zh-cn/web/api/touch/screeny/index.html b/files/zh-cn/web/api/touch/screeny/index.html
index e3c583c101..ce6b83b446 100644
--- a/files/zh-cn/web/api/touch/screeny/index.html
+++ b/files/zh-cn/web/api/touch/screeny/index.html
@@ -25,7 +25,7 @@ translation_of: Web/API/Touch/screenY
<h3 id="Specification" name="Specification">标准定义</h3>
-<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
+<p><a class="external" href="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
<h3 id="相关链接">相关链接</h3>
diff --git a/files/zh-cn/web/api/touchevent/changedtouches/index.html b/files/zh-cn/web/api/touchevent/changedtouches/index.html
index a286e3a674..8241c82b98 100644
--- a/files/zh-cn/web/api/touchevent/changedtouches/index.html
+++ b/files/zh-cn/web/api/touchevent/changedtouches/index.html
@@ -31,4 +31,4 @@ translation_of: Web/API/TouchEvent/changedTouches
<h3 id="Specification" name="Specification">标准定义</h3>
-<p><a class="external" href="http://www.w3.org/TR/touch-events/" title="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
+<p><a class="external" href="http://www.w3.org/TR/touch-events/">Touch Events Specification</a></p>
diff --git a/files/zh-cn/web/api/touchevent/index.html b/files/zh-cn/web/api/touchevent/index.html
index 7ca4bb4235..abc65b37b5 100644
--- a/files/zh-cn/web/api/touchevent/index.html
+++ b/files/zh-cn/web/api/touchevent/index.html
@@ -34,7 +34,7 @@ translation_of: Web/API/TouchEvent
<dt>{{ domxref("event.ctrlKey", "TouchEvent.ctrlKey") }} {{readonlyInline}}</dt>
<dd>布尔值,指明触摸事件触发时,键盘 ctrl 键是否被按下。</dd>
<dt>{{ domxref("event.metaKey", "TouchEvent.metaKey") }} {{readonlyInline}}</dt>
- <dd>布尔值,指明触摸事件触发时,键盘 meta 键 (<a href="http://en.wikipedia.org/wiki/Meta_key" title="http://en.wikipedia.org/wiki/Meta_key">Wikipedia - meta Key</a>)是否被按下。</dd>
+ <dd>布尔值,指明触摸事件触发时,键盘 meta 键 (<a href="http://en.wikipedia.org/wiki/Meta_key">Wikipedia - meta Key</a>)是否被按下。</dd>
<dt>{{ domxref("event.shiftKey", "TouchEvent.shiftKey") }} {{readonlyInline}}</dt>
<dd>布尔值,指明触摸事件触发时,键盘 shift 键是否被按下。</dd>
<dt>{{ domxref("TouchEvent.targetTouches") }} {{readonlyInline}}</dt>
diff --git a/files/zh-cn/web/api/web_workers_api/functions_and_classes_available_to_workers/index.html b/files/zh-cn/web/api/web_workers_api/functions_and_classes_available_to_workers/index.html
index f859a3d938..29d8372106 100644
--- a/files/zh-cn/web/api/web_workers_api/functions_and_classes_available_to_workers/index.html
+++ b/files/zh-cn/web/api/web_workers_api/functions_and_classes_available_to_workers/index.html
@@ -315,7 +315,7 @@ translation_of: Web/API/Web_Workers_API/Functions_and_classes_available_to_worke
<td>Creates a new {{ domxref("Worker") }}. Yes, workers can spawn more workers.</td>
<td>{{CompatGeckoDesktop("1.9.1")}}</td>
<td>10.0</td>
- <td>{{CompatNo}} See <a class="external" href="https://code.google.com/p/chromium/issues/detail?id=31666" rel="external" title="http://code.google.com/p/chromium/issues/detail?id=31666">crbug.com/31666</a></td>
+ <td>{{CompatNo}} See <a class="external" href="https://code.google.com/p/chromium/issues/detail?id=31666" rel="external">crbug.com/31666</a></td>
<td>{{CompatNo}}</td>
</tr>
<tr>
diff --git a/files/zh-cn/web/api/web_workers_api/structured_clone_algorithm/index.html b/files/zh-cn/web/api/web_workers_api/structured_clone_algorithm/index.html
index 5f59c5f8a0..29bd42fc24 100644
--- a/files/zh-cn/web/api/web_workers_api/structured_clone_algorithm/index.html
+++ b/files/zh-cn/web/api/web_workers_api/structured_clone_algorithm/index.html
@@ -100,7 +100,7 @@ original_slug: Web/Guide/API/DOM/The_structured_clone_algorithm
<h2 id="相关链接">相关链接</h2>
<ul>
- <li><a href="http://www.w3.org/TR/html5/infrastructure.html#safe-passing-of-structured-data" title="http://www.w3.org/TR/html5/common-dom-interfaces.html#safe-passing-of-structured-data">HTML5 Specification: Safe passing of structured data</a></li>
+ <li><a href="http://www.w3.org/TR/html5/infrastructure.html#safe-passing-of-structured-data">HTML5 Specification: Safe passing of structured data</a></li>
<li>{{ domxref("window.history") }}</li>
<li>{{ domxref("window.postMessage()") }}</li>
<li><a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API">Web Workers</a></li>
diff --git a/files/zh-cn/web/api/webrtc_api/session_lifetime/index.html b/files/zh-cn/web/api/webrtc_api/session_lifetime/index.html
index fca4ff4be7..b79db2fd31 100644
--- a/files/zh-cn/web/api/webrtc_api/session_lifetime/index.html
+++ b/files/zh-cn/web/api/webrtc_api/session_lifetime/index.html
@@ -22,7 +22,7 @@ original_slug: WebRTC/介绍
<h3 id="信令">信令</h3>
-<p>信令是在两个设备之间发送控制信息以确定通信协议、信道、媒体编解码器和格式以及数据传输方法以及任何所需的路由信息的过程。 关于WebRTC的信令流程最重要的一点是:<strong>信令在规范中并没有定义。</strong>所以开发者需要自己决定如何实现这个过程。开发者可以为应用程序引擎选择任意的信息协议(如SIP或XMPP),任意双向通信信道(如WebSocket或XMLHttpRequest)与持久连接服务器的API(如<a href="https://developers.google.com/appengine/docs/python/channel/overview" style="line-height: 1.5; text-decoration: none;" title="https://developers.google.com/appengine/docs/python/channel/overview">Google Channel API</a><span style="line-height: 1.5;">)一起工作。</span></p>
+<p>信令是在两个设备之间发送控制信息以确定通信协议、信道、媒体编解码器和格式以及数据传输方法以及任何所需的路由信息的过程。 关于WebRTC的信令流程最重要的一点是:<strong>信令在规范中并没有定义。</strong>所以开发者需要自己决定如何实现这个过程。开发者可以为应用程序引擎选择任意的信息协议(如SIP或XMPP),任意双向通信信道(如WebSocket或XMLHttpRequest)与持久连接服务器的API(如<a href="https://developers.google.com/appengine/docs/python/channel/overview" style="line-height: 1.5; text-decoration: none;">Google Channel API</a><span style="line-height: 1.5;">)一起工作。</span></p>
<p><span style="line-height: 1.5;">你可能会想,为什么这么一个对于建立WebRTC连接至关重要的基本过程居然没有定义在规范里? 答案很简单:由于两个设备无法直接相互联系,规范无法预测WebRTC的所有可能用例,因此更明智的做法就是让开发人员们自己选择合适的网络技术和消息传递协议。</span></p>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html b/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
index c2ac5649b6..3d2b1bd85d 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
@@ -17,7 +17,7 @@ original_slug: Web/API/Window/onbeforeunload
<ul>
<li><code>funcRef</code> 是一个函数引用</li>
<li>该函数应当将一个说明字符串赋值给<code>Event</code>对象的<code>returnValue</code>属性(兼容旧版浏览器),并且返回该字符串</li>
- <li>请注意,在Firefox4及其后续版本中,返回的说明字符串并不向用户显示,也就是无法自定义说明字符串.查看<a class="external link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=588292" title="https://bugzilla.mozilla.org/show_bug.cgi?id=588292">Bug 588292</a>.</li>
+ <li>请注意,在Firefox4及其后续版本中,返回的说明字符串并不向用户显示,也就是无法自定义说明字符串.查看<a class="external link-https" href="https://bugzilla.mozilla.org/show_bug.cgi?id=588292">Bug 588292</a>.</li>
</ul>
<h2 id="Example" name="Example">示例</h2>
@@ -39,7 +39,7 @@ original_slug: Web/API/Window/onbeforeunload
<p>当该事件返回的字符串(事前设置好的event.returnValue的值)不为null或者undefined时,弹出确认窗口让用户自行选择是否关闭当前页面。一些浏览器将该事件返回的字符串显示在弹出窗上。从Firefox 4、 Chrome 51、Opera 38 和Safari 9.1开始,通用确认信息代替事件返回的字符串。比如,火狐上会显示“本页面要求您确认您要离开 - 您输入的数据可能不会被保存”,请查阅{{bug("588292")}}和<a href="https://www.chromestatus.com/feature/5349061406228480">Chrome Platform Status</a>。</p>
-<p>从2011年5月25日起,  <a class="external" href="http://www.w3.org/TR/html5-diff/#changes-2011-05-25" title="http://www.w3.org/TR/html5-diff/#changes-2011-05-25">HTML5 规范</a> 声明:在该事件的处理函数中调用下列弹窗相关的方法时,可以忽略不执行,<code><a class="new" href="https://developer.mozilla.org/zh-CN/docs/DOM/window.showModalDialog">window.showModalDialog()</a></code>, <code><a href="https://developer.mozilla.org/zh-CN/docs/DOM/window.alert">window.alert()</a></code>, <code><a class="new" href="https://developer.mozilla.org/zh-CN/docs/DOM/window.confirm">window.confirm()</a></code> <code><a href="https://developer.mozilla.org/zh-CN/docs/DOM/window.prompt">window.prompt()</a></code>.</p>
+<p>从2011年5月25日起,  <a class="external" href="http://www.w3.org/TR/html5-diff/#changes-2011-05-25">HTML5 规范</a> 声明:在该事件的处理函数中调用下列弹窗相关的方法时,可以忽略不执行,<code><a class="new" href="https://developer.mozilla.org/zh-CN/docs/DOM/window.showModalDialog">window.showModalDialog()</a></code>, <code><a href="https://developer.mozilla.org/zh-CN/docs/DOM/window.alert">window.alert()</a></code>, <code><a class="new" href="https://developer.mozilla.org/zh-CN/docs/DOM/window.confirm">window.confirm()</a></code> <code><a href="https://developer.mozilla.org/zh-CN/docs/DOM/window.prompt">window.prompt()</a></code>.</p>
<p>需要指出的是,许多浏览器会忽略该事件并自动关闭页面无需用户的确认。火狐浏览器在配置页面<a>about:config</a>设有一个dom.disable_beforeunload的开关变量用于开启这个功能。</p>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onpopstate/index.html b/files/zh-cn/web/api/windoweventhandlers/onpopstate/index.html
index 54efcf6cf4..3b0e037dd3 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onpopstate/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onpopstate/index.html
@@ -48,7 +48,7 @@ history.go(2); // 弹出 "location: http://example.com/example.html?page=3, sta
<h3 id="Specification" name="Specification">规范</h3>
<ul>
- <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#handler-window-onpopstate" title="http://www.whatwg.org/specs/web-apps/current-work/#handler-window-onpopstate">HTML5 popstate event</a></li>
+ <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#handler-window-onpopstate">HTML5 popstate event</a></li>
</ul>
<h3 id="浏览器兼容性">浏览器兼容性</h3>