K-Meleon
KMeleonWiki > Resources > MacroLibrary > autofiller
Submitted by: disrupted
Notes:
autofills webforms from the context menu
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ---autofiller.kmm; autofill webforms macro based on alain's smileys ----------- # ---thank you juju ^ desgas # Dependencies : - main # Resources : - # Preferences : - # ------------------------------------------------------- #edit values between double quotes according to your personal info $__fullname="blah blue"; $__title="bluer."; $__firstname="blah"; $__surname="blue"; $__middname="blab"; $__username1="blahblue"; $__username2="blueblah"; $__password="blueblue"; $__mothersmaiden="mama mia"; $__spousename="blahblee"; $__childname1="blah blue junior"; $__childname2="blee blee"; $__emailaddress1="blahblue@blue.com"; $__emailaddress2="blueblah@blah.com"; $__fulladdress="44 blue blah Rd, west blueshire, blueblah Republic"; $__address1="44 blue blah Rd"; $__address2="148 blah blah Rd"; $__city="blutopia"; $__postalcode="111989"; $__county="blueshire"; $__country="blueblah Republic"; $__accountNo1="0123456789-9434334"; $__accountNo2="erwedd-456789-9434334"; $__socialsecNo="0123456789-43-3434-434"; $__passportNo1="0123456789-94346767334"; $__passportNo2="34343-0123456789-943436734"; $__passportNo3="3434-0123456789-9467734334"; $__homephone="+44 5645677"; $__officephone="+44 7577567"; $__mobile="+44 718-87654321"; $__facsimile="+44 88884321"; #end of edit values __fullname{ $_clip = getclipboard(); setclipboard($__fullname); id("ID_EDIT_PASTE"); setclipboard($_clip); } __title{ $_clip = getclipboard(); setclipboard($__title); id("ID_EDIT_PASTE"); setclipboard($_clip); } __firstname{ $_clip = getclipboard(); setclipboard($__firstname); id("ID_EDIT_PASTE"); setclipboard($_clip); } __surname{ $_clip = getclipboard(); setclipboard($__surname); id("ID_EDIT_PASTE"); setclipboard($_clip); } __middname{ $_clip = getclipboard(); setclipboard($__middname); id("ID_EDIT_PASTE"); setclipboard($_clip); } __username1{ $_clip = getclipboard(); setclipboard($__username1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __username2{ $_clip = getclipboard(); setclipboard($__username2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __password{ $_clip = getclipboard(); setclipboard($__password); id("ID_EDIT_PASTE"); setclipboard($_clip); } __mothersmaiden{ $_clip = getclipboard(); setclipboard($__mothersmaiden); id("ID_EDIT_PASTE"); setclipboard($_clip); } __spousename{ $_clip = getclipboard(); setclipboard($__spousename); id("ID_EDIT_PASTE"); setclipboard($_clip); } __childname1{ $_clip = getclipboard(); setclipboard($__childname1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __childname2{ $_clip = getclipboard(); setclipboard($__childname2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __emailaddress1{ $_clip = getclipboard(); setclipboard($__emailaddress1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __emailaddress2{ $_clip = getclipboard(); setclipboard($__emailaddress2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __fulladdress{ $_clip = getclipboard(); setclipboard($__fulladdress); id("ID_EDIT_PASTE"); setclipboard($_clip); } __address1{ $_clip = getclipboard(); setclipboard($__address1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __address2{ $_clip = getclipboard(); setclipboard($__address2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __city{ $_clip = getclipboard(); setclipboard($__city); id("ID_EDIT_PASTE"); setclipboard($_clip); } __postalcode{ $_clip = getclipboard(); setclipboard($__postalcode); id("ID_EDIT_PASTE"); setclipboard($_clip); } __county{ $_clip = getclipboard(); setclipboard($__county); id("ID_EDIT_PASTE"); setclipboard($_clip); } __country{ $_clip = getclipboard(); setclipboard($__country); id("ID_EDIT_PASTE"); setclipboard($_clip); } __socialsecNo{ $_clip = getclipboard(); setclipboard($__socialsecNo); id("ID_EDIT_PASTE"); setclipboard($_clip); } __passportNo1{ $_clip = getclipboard(); setclipboard($__passportNo1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __passportNo2{ $_clip = getclipboard(); setclipboard($__passportNo2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __passportNo3{ $_clip = getclipboard(); setclipboard($__passportNo3); id("ID_EDIT_PASTE"); setclipboard($_clip); } __account1{ $_clip = getclipboard(); setclipboard($__accountNo1); id("ID_EDIT_PASTE"); setclipboard($_clip); } __account2{ $_clip = getclipboard(); setclipboard($__accountNo2); id("ID_EDIT_PASTE"); setclipboard($_clip); } __homephone{ $_clip = getclipboard(); setclipboard($__homephone); id("ID_EDIT_PASTE"); setclipboard($_clip); } __officephone{ $_clip = getclipboard(); setclipboard($__officephone); id("ID_EDIT_PASTE"); setclipboard($_clip); } __mobile{ $_clip = getclipboard(); setclipboard($__mobile); id("ID_EDIT_PASTE"); setclipboard($_clip); } __facsimile{ $_clip = getclipboard(); setclipboard($__facsimile); id("ID_EDIT_PASTE"); setclipboard($_clip); } _AutoFill_BuildMenu{ setmenu("TextPopup",popup,_("AutoFill")); setmenu(_("AutoFill"),popup,_("Name")); setmenu(_("Name"),macro,_("Title"),__title); setmenu(_("Name"),macro,_("Full Name"),__fullname); setmenu(_("Name"),macro,_("First Name"),__firstname); setmenu(_("Name"),macro,_("Surname"),__surname); setmenu(_("Name"),macro,_("Middle Name"),__middname); setmenu(_("Name"),macro,_("Username 1"),__username1); setmenu(_("Name"),macro,_("Username 2"),__username2); setmenu(_("Name"),macro,_("Password"),__password); setmenu(_("Name"),macro,_("Mother's Maiden"),__mothersmaiden); setmenu(_("Name"),macro,_("Spouse Name"),__spousename); setmenu(_("Name"),macro,_("1st Child Name"),__childname1); setmenu(_("Name"),macro,_("2nd Child Name"),__childname2); setmenu(_("AutoFill"),popup,_("Email")); setmenu(_("Email"),macro,_("Email 1"),__emailaddress1); setmenu(_("Email"),macro,_("Email 2"),__emailaddress2); setmenu(_("AutoFill"),popup,_("Address")); setmenu(_("Address"),macro,_("Full Address"),__fulladdress); setmenu(_("Address"),macro,_("Address 1"),__address1); setmenu(_("Address"),macro,_("Address 2"),__address2); setmenu(_("Address"),macro,_("City"),__city); setmenu(_("Address"),macro,_("County"),__county); setmenu(_("Address"),macro,_("Country"),__country); setmenu(_("Address"),macro,_("Postal Code"),__postalcode); setmenu(_("AutoFill"),popup,_("Personal")); setmenu(_("Personal"),macro,_("Account 1"),__account1); setmenu(_("Personal"),macro,_("Account 2"),__account2); setmenu(_("Personal"),macro,_("Passport 1"),__passportNo1); setmenu(_("Personal"),macro,_("Passport 2"),__passportNo2); setmenu(_("Personal"),macro,_("Passport 3"),__passportNo3); setmenu(_("Personal"),macro,_("Identification"),__socialsecNo); setmenu(_("AutoFill"),popup,_("Telephone")); setmenu(_("Telephone"),macro,_("Home"),__homephone); setmenu(_("Telephone"),macro,_("Office"),__officephone); setmenu(_("Telephone"),macro,_("Mobile"),__mobile); setmenu(_("Telephone"),macro,_("Facsimile"),__facsimile); } $OnInit=$OnInit."_AutoFill_BuildMenu;"; # ---------------------------------------------------------- $macroModules=$macroModules."AutoFiller;";