From 97065b2e68dd8768dc1ea092c893c57ebe205026 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Thu, 25 Feb 2021 08:31:36 -0500 Subject: use class="hidden" not style="display:none" --- files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ru/mozilla/add-ons/webextensions/user_interface') diff --git a/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html b/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html index 23541f5a60..a6e6746c07 100644 --- a/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html +++ b/files/ru/mozilla/add-ons/webextensions/user_interface/popups/index.html @@ -12,7 +12,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/user_interface/Popups

When the user clicks the button, the popup is shown. When the user clicks anywhere outside the popup, the popup is closed. The popup can be closed programmatically by calling window.close() from a script running in the popup. However, you can't open the popup programmatically from an extension's JavaScript: it can only be opened in response to a user action.

-

You can define a keyboard shortcut that opens the popup using the "_execute_browser_action" and "_execute_page_action" shortcuts. See the documentation for the manifest.json key commands .

+

You can define a keyboard shortcut that opens the popup using the "_execute_browser_action" and "_execute_page_action" shortcuts. See the documentation for the manifest.json key commands.

Specifying a popup

-- cgit v1.2.3-54-g00ecf