http://gnuwin32.sourceforge.net/packages/wget.htmQuote
To get Greasify working with K-Meleon 1.6, manually set the follownig preferences:
user_pref("kmeleon.plugins.macros.greasify.directory", "C:\\scripts\\directory");
user_pref("kmeleon.plugins.macros.greasify.enable_toolbar", true);
user_pref("kmeleon.plugins.macros.greasify.enablednew", true);
user_pref("kmeleon.plugins.macros.greasify.statbarnew", true);
- Download and install wget.exe and you can then install scripts off userscripts.org.
_testbool{ getpref(BOOL,"kmeleon.plugins.macros.testui")==0?setpref(BOOL,"kmeleon.plugins.macros.testui",true):0; } _testbool_toggle{ togglepref(BOOL,"kmeleon.plugins.macros.testui"); menuchecked=getpref(BOOL,"kmeleon.plugins.macros.testui"); } _testui_BuildMenu{ setmenu(PrivacySecurity,macro,"&testUI",_testbool_toggle); } $OnInit=$OnInit."_testui_BuildMenu;_testbool;";
Quote
jk--
desaga2: It still doesn't work. Here is an example:
_testbool{ getpref(BOOL,"kmeleon.plugins.macros.testui")==0?setpref(BOOL,"kmeleon.plugins.macros.testui",true):0; } _testbool_toggle{ togglepref(BOOL,"kmeleon.plugins.macros.testui"); menuchecked=getpref(BOOL,"kmeleon.plugins.macros.testui"); } _testui_BuildMenu{ setmenu(PrivacySecurity,macro,"&testUI",_testbool_toggle); } $OnInit=$OnInit."_testui_BuildMenu;_testbool;";
The menu item does not toggle the pref.
Quote
JujuLand
Try to invert the order of the lines:
_testbool_toggle{
menuchecked=getpref(BOOL,"kmeleon.plugins.macros.testui");
togglepref(BOOL,"kmeleon.plugins.macros.testui");
}
A+