I don't have password saving turned on for myself. I prefer to keep them in my head. I do have a helper macro which keeps the card number for BJs wholesale club so I do not have to remember that. IMPORTANT - the macro is a open file so security is an issue.
BJs has two pages from which I can login. If there was only one page then the conditional statement would be less complex. Addition sites can be added by the addition of another line in the setmenu area and another macro like _Fill_In_Form_Run_BJClub{.
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- Fill_In_Form.kmm
# ---------- K-Meleon Macro Language Fill in info for some forms ---------------
#
# Dependencies : main.kmm
# Resources : -
# Preferences : -
# Version : 0.5 2008-07-19
# --------------------------------------------------------------------------------
_Fill_In_Form_Run_BJClub{
$URLBAR == "https://www.bjs.com/member/login.start" ? setclipboard("xxx-4-xxxx-yyy") : $URLBAR == "https://www.bjs.com/member/login/unauthorized" ? setclipboard("xxx-4-xxxx-yyy") : &_Fill_In_Form_Run_Error ;
}
_Fill_In_Form_Run_Error{
alert("Incorrect Page", "URL ??", EXCLAIM ) ;
}
_Fill_In_Form_BuildMenu{
# add another option to Help menu
$_Fill_In_Form_Popm = "Fill In Forms" ;
setmenu("KMDocs",separator,-1);
setmenu("KMDocs",popup,$_Fill_In_Form_Popm);
setmenu($_Fill_In_Form_Popm,macro,"BJ's Club",_Fill_In_Form_Run_BJClub);
}
$OnInit=$OnInit."_Fill_In_Form_BuildMenu;";
$macroModules=$macroModules."Fill_In_Form;";