aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/security
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/security')
-rw-r--r--files/zh-cn/web/security/subresource_integrity/index.html68
1 files changed, 1 insertions, 67 deletions
diff --git a/files/zh-cn/web/security/subresource_integrity/index.html b/files/zh-cn/web/security/subresource_integrity/index.html
index 7a6d4b4756..825d29d9a8 100644
--- a/files/zh-cn/web/security/subresource_integrity/index.html
+++ b/files/zh-cn/web/security/subresource_integrity/index.html
@@ -121,73 +121,7 @@ original_slug: Web/Security/子资源完整性
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>The integrity attribute for <code>&lt;script&gt;</code> and <code>&lt;link&gt;</code></td>
- <td>{{ CompatChrome("45.0") }}</td>
- <td>{{ CompatGeckoDesktop("43") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("32")}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td>The CSP {{CSP("require-sri-for")}} directive</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("49") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>The integrity attribute for <code>&lt;script&gt;</code> and <code>&lt;link&gt;</code></td>
- <td>{{ CompatChrome("45.0") }}</td>
- <td>{{CompatGeckoMobile("43")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td>The CSP {{CSP("require-sri-for")}} directive</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("49")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] {{WebKitBug(148363)}}</p>
-
-<p>[2] 位于 <code>security.csp.experimentalEnabled</code> 之后的是: config preference。</p>
+{{Compat("html.elements.script.integrity")}}
<h2 id="相关资料">相关资料</h2>