Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=siria] Thanks for liking it Soeren :) And here come 2 new ones, if anyone has use for it, insert the desired commands into the macro in first posting, and copy the setmenu lines to the others at the bottom (without the comments at beginning of course): [color=blue] ############## IMAGES ################ minimacros_ImgMaxWidth{ macroinfo="[/color][b][color=red]Set max-width for images[/color][/b] [color=blue]until next reload (700px, via injectCSS)"; injectCSS(" * img {max-width: 700px !important; }"); } minimacros_ImgMaxWidthOff{ macroinfo="Reset max-width for images (no limit, via injectCSS)"; injectCSS(" * img {max-width: none !important; }"); }[/color] [color=green][i]# in menu "View": [b]setmenu[/b]("&View",macro,"Images Max-Width ON",minimacros_ImgMaxWidth); # in menu "View": [b]setmenu[/b]("&View",macro,"Images Max-Width OFF",minimacros_ImgMaxWidthOff); # in context-menu for images: [b]setmenu[/b](ImageProperties,macro,"Images Max-Width ON",minimacros_ImgMaxWidth); # in context-menu for images: [b]setmenu[/b](ImageProperties,macro,"Images Max-Width OFF",minimacros_ImgMaxWidthOff);[/i][/color] [color=blue] #----- minimacros_nobackimg{ menugrayed=!$ImageURL; macroinfo="[/color][b][color=red]Hide background-image[/color][/b][color=blue] until next reload (via injectCSS)"; injectCSS(" * {background-image: none !important; }"); }[/color] [color=green][i]# in menu "Page Properties": [b]setmenu[/b]("Page Pro&perties",macro,"Hide Background-Image",minimacros_nobackimg); # in menu "View": [b]setmenu[/b]("Page &Properties",macro,"Hide Background-Image",minimacros_nobackimg);[/i][/color] [color=blue] #----- [/color][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development