Improvement requests :  K-Meleon Web Browser Forum
Use this forum to talk about a feature you're missing. 
A "enable/disable images" -button
Posted by: Olli Savolainen
Date: April 17, 2002 04:51PM

An easy-to-access button to make the browser not load the images on web pages.

K-Meleon plain rules!

Options: ReplyQuote
Re: A "enable/disable images" -button
Posted by: Andrew
Date: April 17, 2002 06:40PM

Olli,

You can do this with macris. I think Po described somewhere in the Forums how to do it. I'm sure Po will chime in with an answer.

Andrew

Options: ReplyQuote
Re: A "enable/disable images" -button
Posted by: Andrew
Date: April 17, 2002 06:40PM

I meant to say macros.

Options: ReplyQuote
Re: A "enable/disable images" -button
Posted by: po
Date: April 18, 2002 01:03AM

<chime>you should be able to adapt the text size macro instructions here to that purpose, using the pref

user_pref("network.image.imageBehavior", 1);

...one hint, though: use togglepref() even if you have seperate macros for 'on' and 'off', since it works immediately, whereas setpref() sometimes doesn't...</chime>

Options: ReplyQuote
Re: A &quot;enable/disable images&quot; -button
Posted by: ToX
Date: April 19, 2002 12:23PM

ooow it doesn't works for me sad smileysad smileysad smileysad smiley

Options: ReplyQuote
Re: A &quot;enable/disable images&quot; -button
Posted by: gargamonk
Date: April 26, 2002 01:45PM

The macro doesn't work quite right for me either. Here is my code:

imageshow {
menu = &Image Show
togglepref(INT, network.image.imageBehavior, 0,1,2)
}

It does something when i press it, but normally it will go ahead and load the images anyway. It looks like it reloads all images, because it goes to image labels, then loads the images.

Options: ReplyQuote
Re: A &quot;enable/disable images&quot; -button
Posted by: po
Date: April 26, 2002 09:51PM

unfortunately, the version of k-meleon i'm using right now is completely broken with regards to togglepref() macros, so i can't really play around with it.

i do recall that it didn't always work perfectly, particularly on pages that use frames... in some cases it would just reload the page, images and all... keep in mind that the difference between state 0 and 1 may not always be significant ('all images' vs. 'site images') so it might make more sense to toggle only between 1 (or 0) and 2...

Options: ReplyQuote


K-Meleon forum is powered by Phorum.