PasswordMaker Forums
Firefox/SeaMonkey/Mozilla/Netscape/Flock Browser Extension => Feature Requests / Enhancements => Topic started by: xad on May 10, 2006, 03:53:49 PM
-
Please can you post the contextmenu ids and labels for passwordmaker as i'd like to manually remove the right click context menu items like i always do using:
http://forums.mozillazine.org/viewtopic.php?t=14776 (http://forums.mozillazine.org/viewtopic.php?t=14776)
Menu Editor extension causes me configurations to get messed up so i don't use that.
An option in future editons to remove the right click menu would be great, but the context menu labels should be fine.
Thanks.
-
Hello xad,
Here are the context menu ids and labels:
menu: id="passwordmaker-context-menu" label="PasswordMaker"
menupopup: id="passwordmaker-context-menu-popup"
menuitem: id="passwordmaker-popup" label="Populate This Field"
menuitem: id="passwordmaker-coolkey-popup" label="CoolKey"
menuitem: id="passwordmaker-removempw-popup" label="Clear Master Password"
menuitem: id="passwordmaker-context-menu-open" label="Open PasswordMaker"
You might also try MenuManipulator (http://www.extensionsmirror.nl/index.php?showtopic=3615), although I haven't tried it personally.
-
Hello xad,
Here are the context menu ids and labels:
menu: id="passwordmaker-context-menu" label="PasswordMaker"
menupopup: id="passwordmaker-context-menu-popup"
menuitem: id="passwordmaker-popup" label="Populate This Field"
menuitem: id="passwordmaker-coolkey-popup" label="CoolKey"
menuitem: id="passwordmaker-removempw-popup" label="Clear Master Password"
menuitem: id="passwordmaker-context-menu-open" label="Open PasswordMaker"
You might also try MenuManipulator (http://www.extensionsmirror.nl/index.php?showtopic=3615), although I haven't tried it personally.
I can't seem to remove the last one. In the file passwdmakerOverlay.xul it has the coding:
<popup id="contentAreaContextMenu">
<menu label="PasswordMaker" accesskey="P" class="menu-iconic"
image="chrome://passwdmaker/content/images/ring-16x16-enabled.png">
<menupopup>
<menuitem id="passwordmaker-popup" label="Populate This Field"
accesskey="W"
class="menuitem-iconic"
oncommand="passwordMaker.onContextMenuClick();"
image="chrome://passwdmaker/content/images/quill.png"/>
<menuitem id="passwordmaker-coolkey-popup" label="CoolKey"
accesskey="C" insertafter="passwordmaker-popup"
class="menuitem-iconic"
oncommand="passwordMaker.populateFields();"
image="chrome://passwdmaker/content/images/key-16x16.png"/>
<menuitem id="passwordmaker-removempw-popup" label="Clear Master Password"
accesskey="C" insertafter="passwordmaker-popup"
class="menuitem-iconic"
oncommand="passwordMaker.setMPW(null, true);"
image="chrome://passwdmaker/content/images/eraser.png"/>
<menuitem label="Open PasswordMaker"
accesskey="O" insertafter="passwordmaker-popup"
class="menuitem-iconic"
oncommand="passwordMaker.open();"
image="chrome://passwdmaker/content/images/ring-16x16-enabled.png"/>
</menupopup>
</menu>
</popup>
All of the labels have an idea except for the Open PasswordMaker - does that have anything to do with it, or did i do something wrong? Because adding all of the label ids in the userchrome is supposed to remove them from the right click context menu.
edit: Is that specific label missing its ID? I just checked using that extension you posted, menu manipulator and it too shows that that context menu item doesn't have an ID. Did i just find a bug, or is this the way its supposed to be? Its the "Open PasswordMaker" item.
-
I can't seem to remove the last one. In the file passwdmakerOverlay.xul it has the coding:
All of the labels have an idea except for the Open PasswordMaker - does that have anything to do with it, or did i do something wrong? Because adding all of the label ids in the userchrome is supposed to remove them from the right click context menu.
edit: Is that specific label missing its ID? I just checked using that extension you posted, menu manipulator and it too shows that that context menu item doesn't have an ID. Did i just find a bug, or is this the way its supposed to be? Its the "Open PasswordMaker" item.
ok i managed to remove it. I gave the PasswordMaker a unique new name. I'm referring to the one that falls under:
access: p
class: menu-iconic
image: chrome://passwdmaker/content/images/ring-16x16-enabled.png
label: PasswordMaker
and then i added the new unique name to my userchrome file and now its hidden just the way i wanted
-
Sorry you had trouble. I changed the code to have an id some time ago, but forgot this hasn't been released yet. It will be in the next release.