diff options
author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/mozilla | |
parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
download | translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2 translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip |
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements
* Removes all empty div elements
* Preserve empty div in code snippet
* Preserve empty elements inside code snippets
* Remove fr files which were converted into markdown
* Web/CSS/transform-function/scaleX()/index.html
The file is already renamed to index.md。
* remove not needed file
* Resolve remaining conflict
Co-authored-by: julieng <julien.gattelier@gmail.com>
Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/mozilla')
6 files changed, 11 insertions, 11 deletions
diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/idle/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/idle/index.html index a6160bc90d..8ce760c025 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/idle/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/idle/index.html @@ -84,14 +84,14 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/idle </pre> </div> -<div></div> + <h3 id="了解更多">了解更多:</h3> <div><a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Window/requestIdleCallback">https://developer.mozilla.org/zh-CN/docs/Web/API/Window/requestIdleCallback </a></div> -<div></div> -<div></div> + + <div>...</div> diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/menus/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/menus/index.html index b661631739..8f700eb5d8 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/menus/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/menus/index.html @@ -12,15 +12,15 @@ original_slug: Mozilla/Add-ons/WebExtensions/API/contextMenus <div>在浏览器菜单中添加条目。</div> -<div></div> + <div>此API基于Chrome的“contextMenus”API构建,该API可让Chrome扩展程序将项目添加到浏览器的上下文菜单中。 <code>browser.menus</code> API为Chrome的API添加了一些功能,特别是可以将项目添加到浏览器的“工具”菜单以及上下文菜单中。</div> -<div></div> + <div>在Firefox 55之前,这个API最初也被命名为<code>contextMenus</code>,并且这个名字被保留为别名,所以你可以使用<code>contextMenus</code>编写在Firefox和其他浏览器中工作的代码。</div> -<div></div> + <div>你需要拥有“menus”(或别名" contextMenus ")权限来使用此API。</div> diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/permissions/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/permissions/index.html index df6c1c8e5c..40deded162 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/permissions/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/permissions/index.html @@ -16,7 +16,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/permissions <div>Enables extensions to request extra permissions at runtime, after they have been installed.</div> -<div></div> + <p>Extensions need permissions to access more powerful WebExtension APIs. They can ask for permissions at install time, by including the permissions they need in the <code><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/permissions">permissions</a></code> manifest.json key. The main advantages of asking for permissions at install time are:</p> @@ -39,7 +39,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/permissions <div>To use the permissions API, decide which permissions your extension can request at runtime, and list them in <code><a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/optional_permissions">optional_permissions</a></code>. After this, you can request any permissions that were included in <code>optional_permissions</code>. Requests may only be made in the handler for a user action (for example, a click handler).</div> -<div></div> + <div>For advice on designing your request for runtime permissions, to maximize the likelihood that users grant them, see <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions/Request_the_right_permissions#Request_permissions_at_runtime">Request permissions at runtime</a>.</div> diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/proxy/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/proxy/index.html index e259cf65fc..f886dc7c15 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/proxy/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/proxy/index.html @@ -5,7 +5,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/proxy --- <div>{{AddonSidebar}}</div> -<div></div> + <div class="blockIndicator warning"> <p><strong>Warning</strong><br> diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onmessage/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onmessage/index.html index add44638c4..f167081fd3 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onmessage/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/runtime/onmessage/index.html @@ -7,7 +7,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/runtime/onMessage <div>利用此事件来监听来自你的扩展其他部分的消息。例如,使用:</div> -<div></div> + <ul> <li>in a <a href="/en-US/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Content_scripts">content script</a>, to listen for messages from a <a href="/en-US/Add-ons/WebExtensions/Anatomy_of_a_WebExtension#Background_scripts">background script.</a></li> diff --git a/files/zh-cn/mozilla/add-ons/webextensions/api/storage/index.html b/files/zh-cn/mozilla/add-ons/webextensions/api/storage/index.html index 2dc4dd3131..296f4b7c74 100644 --- a/files/zh-cn/mozilla/add-ons/webextensions/api/storage/index.html +++ b/files/zh-cn/mozilla/add-ons/webextensions/api/storage/index.html @@ -11,7 +11,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/storage <div>使浏览器扩展能够储存及获取数据,以及监听储存的数据的变化。</div> -<div></div> + <p>此存储系统API基于 <a href="/en-US/docs/Web/API/Web_Storage_API">Web Storage API</a>, 并有少许不同。</p> |