But you haven't installed the little macro yet, which adds the new menu option ;-)
Copy the blue text into notepad and save as "toggleprefImgSrc.kmm" in a macros folder. Make sure to save as "all files" option, must not have a .txt ending!
After restarting the browser the menu will offer "Block Image Roll-Over":
_________________________________
# Creates menu entries for quicker access to "Block Image Roll-Over", from F2 > Javascript options
# Froggy: http://kmeleonbrowser.org/forum/read.php?4,117390
toggleprefImgSrc{
macroinfo=_("Disallow scripts to change images (Roll-Over)");
menuchecked=getpref(BOOL,"dom.disable_image_src_set");
togglepref(BOOL,"dom.disable_image_src_set");
}
_toggleprefImgSrc_BuildMenu{
# Insert in menu: Tools > Privacy (between "Block" commands)
setmenu("_Privacy_Settings",macro,"Block Image Roll-Over","toggleprefImgSrc","Block F&lash");
# Insert in menu: Tools > Privacy > Permissions (Exceptions stuff and Javascript options)
setmenu("P&ermissions",macro,"Block Image Roll-Over","toggleprefImgSrc",-1);
}
$OnInit=$OnInit."_toggleprefImgSrc_BuildMenu;";
$macroModules=$macroModules."toggleprefImgSrc;";
________________
You can also use this command now on a toolbar button, would suggest:
macros(toggleprefImgSrc)|_Privacy_Settings
But it only toggles the setting, doesn't stay visibly pressed.
Edited 3 time(s). Last edit at 07/04/2011 07:00PM by siria.