annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
1 Open Incongito
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
2 ==============
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
3
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
4 Open Incongito is a Firefox Addon for opening links in the most recently
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
5 accessed private window.
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
6
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
7 Usage
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
8 -----
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
9
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
10 Open the context menu on top of a link and select the menu item named "Open
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
11 Link in Private Window. If the is no existing private window, a new private
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
12 window will be opened with the selected link. If there is one private window
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
13 the link will be opened in that window and if there is more than one the link
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
14 will be opened in the most recently accessed private window.
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
15
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
16 Contact
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
17 -------
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
18
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
19 Please send any feedback, translations or bug reports via email to
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
20 <guido+open-incognito@berhoerster.name>
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
21
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
22 Bug Reports
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
23 -----------
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
24
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
25 When sending bug reports, please always mention the exact version of the addon
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
26 with which the issue occurs as well as the version of Firefox and the operating
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
27 system you are using and make sure that you provide sufficient information to
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
28 reproduce the issue and include any error messages.
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
29
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
30 License
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
31 -------
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
32
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
33 Except otherwise noted, all files are Copyright (C) 2018 Guido Berhoerster and
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
34 distributed under the following license terms:
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
35
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
36 Copyright (C) 2018 Guido Berhoerster <guido+open-incognito@berhoerster.name>
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
37
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
38 This Source Code Form is subject to the terms of the Mozilla Public
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
39 License, v. 2.0. If a copy of the MPL was not distributed with this
3353f3c48b6b Initial revision
Guido Berhoerster <guido+open-incognito@berhoerster.name>
parents:
diff changeset
40 file, You can obtain one at http://mozilla.org/MPL/2.0/.