Improvement requests
: K-Meleon Forum
Use this forum to talk about a feature you're missing.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=siria] 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": _________________________________ [color=blue]# Creates menu entries for quicker access to "Block Image Roll-Over", from F2 > Javascript options # Froggy: http://kmeleon.sourceforge.net/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;"; [/color] ________________ 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.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development
English