aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/add-ons/webextensions
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
committerPeter Bengtsson <mail@peterbe.com>2021-02-25 08:31:36 -0500
commit97065b2e68dd8768dc1ea092c893c57ebe205026 (patch)
tree11bf4a1114c543989c24c7a801ba379b2c20a30c /files/zh-cn/mozilla/add-ons/webextensions
parentd1794f6b276285489b417053507f432a14be31df (diff)
downloadtranslated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.gz
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.tar.bz2
translated-content-97065b2e68dd8768dc1ea092c893c57ebe205026.zip
use class="hidden" not style="display:none"
Diffstat (limited to 'files/zh-cn/mozilla/add-ons/webextensions')
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/api/downloads/download/index.html2
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onconnect/index.html6
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/api/tabs/create/index.html2
-rw-r--r--files/zh-cn/mozilla/add-ons/webextensions/your_first_webextension/index.html6
4 files changed, 8 insertions, 8 deletions
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/downloads/download/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/downloads/download/index.html
index c7b6216ee8..4183d09422 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/api/downloads/download/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/api/downloads/download/index.html
@@ -40,7 +40,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/downloads/download
<dd>一个 <code>boolean</code>,启用后即使遇到HTTP错误仍然继续下载。 例如,可以使用该标志下载服务错误页面。默认值为<code>false</code>. 当设置为以下值时:
<ul>
<li><code>false</code>,遇到HTTP错误时下载会被取消。</li>
- <li><code>true</code>, 即使遇到HTTP错误也会继续下载,并且不会弹出HTTP服务错误报告。但是,如果下载失败的原因是文件相关,网络相关,用户相关,或者说其他错误,仍然会报错。<span style="display: none;"> </span></li>
+ <li><code>true</code>, 即使遇到HTTP错误也会继续下载,并且不会弹出HTTP服务错误报告。但是,如果下载失败的原因是文件相关,网络相关,用户相关,或者说其他错误,仍然会报错。<span class="hidden"> </span></li>
</ul>
</dd>
<dt><code>body</code>{{optional_inline}}</dt>
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onconnect/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onconnect/index.html
index d51cb8abbc..283b0e64da 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onconnect/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onconnect/index.html
@@ -147,9 +147,9 @@ browser<span class="punctuation token">.</span>browserAction<span class="punctua
<div id="SL_balloon_obj" style="display: block;">
<div class="SL_ImTranslatorLogo" id="SL_button" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%; opacity: 1; display: none; left: -8px; top: -25px;"> </div>
-<div id="SL_shadow_translation_result2" style="display: none;"> </div>
+<div id="SL_shadow_translation_result2" class="hidden"> </div>
-<div id="SL_shadow_translator" style="display: none;">
+<div id="SL_shadow_translator" class="hidden">
<div id="SL_planshet">
<div id="SL_arrow_up" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div>
@@ -161,7 +161,7 @@ browser<span class="punctuation token">.</span>browserAction<span class="punctua
<div class="SL_BL_LABLE_ON" id="SL_P2" title="Translator">T</div>
</div>
-<div id="SL_alert_bbl" style="display: none;">
+<div id="SL_alert_bbl" class="hidden">
<div id="SLHKclose" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"> </div>
<div id="SL_alert_cont"> </div>
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/tabs/create/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/tabs/create/index.html
index 82921cc3ea..ed2c15777d 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/api/tabs/create/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/api/tabs/create/index.html
@@ -55,7 +55,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/tabs/create
<li>javascript: URLs</li>
<li>data: URLs</li>
<li>file: URLs (i.e., files on the filesystem. However, to use a file packaged inside the extension, see below)</li>
- <li>privileged about: URLs (for example, <code>about:config</code>, <code>about:addons</code>, <code>about:debugging</code>)<span style="display: none;"> </span>. Non-privileged URLs (e.g., <code>about:blank</code>) are allowed.</li>
+ <li>privileged about: URLs (for example, <code>about:config</code>, <code>about:addons</code>, <code>about:debugging</code>)<span class="hidden"> </span>. Non-privileged URLs (e.g., <code>about:blank</code>) are allowed.</li>
<li>The New Tab page (<code>about:newtab</code>) can be opened if no value for URL is provided.</li>
</ul>
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/your_first_webextension/index.html b/files/zh-cn/mozilla/add-ons/webextensions/your_first_webextension/index.html
index b08f114ba1..037ef931b0 100644
--- a/files/zh-cn/mozilla/add-ons/webextensions/your_first_webextension/index.html
+++ b/files/zh-cn/mozilla/add-ons/webextensions/your_first_webextension/index.html
@@ -157,9 +157,9 @@ cd borderify</pre>
<div id="SL_balloon_obj" style="display: block;">
<div class="SL_ImTranslatorLogo" id="SL_button" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%; display: none; opacity: 1; left: 556px; top: 6804px;"></div>
-<div id="SL_shadow_translation_result2" style="display: none;"></div>
+<div id="SL_shadow_translation_result2" class="hidden"></div>
-<div id="SL_shadow_translator" style="display: none;">
+<div id="SL_shadow_translator" class="hidden">
<div id="SL_planshet">
<div id="SL_arrow_up" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"></div>
@@ -171,7 +171,7 @@ cd borderify</pre>
<div class="SL_BL_LABLE_ON" id="SL_P2" title="Translator">T</div>
</div>
-<div id="SL_alert_bbl" style="display: none;">
+<div id="SL_alert_bbl" class="hidden">
<div id="SLHKclose" style="background: rgba(0, 0, 0, 0) repeat scroll 0% 0%;"></div>
<div id="SL_alert_cont"></div>