Mercurial > addons > firefox-addons > open-incognito
view README @ 3:89239e60d9e1 default tip
Enable on privileged pages
There are contexts in Firefox (for example, the default new tab page) that
contain links to http(s) resources but are considered privileged. In these
contexts `menus.onShown` does not provide the link URL to the extension and
Open Incognito disables the context menu entry.
However, if the entry is not disabled, the `onClicked` listener will actually
know the link URL because a user's click on the extension's menu item is
considered to be an explicit permission, so Open Incognito could work.
Keep the menu item enabled if the URL is not available. There is a drawback
that the item will be enabled but do nothing if the actual link has an
unknown/unsupported protocol, but this is probably a more rare situation.
author | Denis Lisov <dennis.lissov@gmail.com> |
---|---|
date | Sat, 09 Feb 2019 03:38:05 +0300 |
parents | 3353f3c48b6b |
children |
line wrap: on
line source
Open Incongito ============== Open Incongito is a Firefox Addon for opening links in the most recently accessed private window. Usage ----- Open the context menu on top of a link and select the menu item named "Open Link in Private Window. If the is no existing private window, a new private window will be opened with the selected link. If there is one private window the link will be opened in that window and if there is more than one the link will be opened in the most recently accessed private window. Contact ------- Please send any feedback, translations or bug reports via email to <guido+open-incognito@berhoerster.name> Bug Reports ----------- When sending bug reports, please always mention the exact version of the addon with which the issue occurs as well as the version of Firefox and the operating system you are using and make sure that you provide sufficient information to reproduce the issue and include any error messages. License ------- Except otherwise noted, all files are Copyright (C) 2018 Guido Berhoerster and distributed under the following license terms: Copyright (C) 2018 Guido Berhoerster <guido+open-incognito@berhoerster.name> This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.