aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/element/beforescriptexecute_event
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:56:40 +0100
commit310fd066e91f454b990372ffa30e803cc8120975 (patch)
treed5d900deb656a5da18e0b60d00f0db73f3a2e88e /files/zh-cn/web/api/element/beforescriptexecute_event
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.gz
translated-content-310fd066e91f454b990372ffa30e803cc8120975.tar.bz2
translated-content-310fd066e91f454b990372ffa30e803cc8120975.zip
unslug zh-cn: move
Diffstat (limited to 'files/zh-cn/web/api/element/beforescriptexecute_event')
-rw-r--r--files/zh-cn/web/api/element/beforescriptexecute_event/index.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/element/beforescriptexecute_event/index.html b/files/zh-cn/web/api/element/beforescriptexecute_event/index.html
new file mode 100644
index 0000000000..00aa4120c1
--- /dev/null
+++ b/files/zh-cn/web/api/element/beforescriptexecute_event/index.html
@@ -0,0 +1,57 @@
+---
+title: Element:beforescriptexecute 事件
+slug: Web/Events/beforescriptexecute
+tags:
+ - DOM
+ - 参考
+ - 非标准
+translation_of: Web/API/Element/beforescriptexecute_event
+---
+<div>{{APIRef}}</div>
+
+<div>{{Non-standard_header}}</div>
+
+<div class="warning">
+<p>此事件是早期版本的规范中的一个提案。不要依赖它。</p>
+</div>
+
+<p><strong><code>beforescriptexecute</code></strong> 事件在一个脚本被执行前触发,取消此事件可以阻止该脚本的执行。</p>
+
+<p>这是一个 Gecko(Firefox)特有的私有事件。</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">是否冒泡</th>
+ <td>是</td>
+ </tr>
+ <tr>
+ <th scope="row">是否可取消</th>
+ <td>是</td>
+ </tr>
+ <tr>
+ <th scope="row">接口</th>
+ <td>{{domxref("Event")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">事件处理器属性</th>
+ <td>无</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="规范">规范</h2>
+
+<p>不属于任何规范。</p>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+
+
+<p>{{Compat("api.Element.beforescriptexecute_event")}}</p>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li><code><a href="/zh-CN/docs/Web/API/Element/afterscriptexecute_event">afterscriptexecute</a></code> 事件</li>
+</ul>