Re: Turn Images off

Antônio Gomes <[email protected]> Mon, 20 Jun 2005 10:05:13 -0400
Newsgroups gmane.comp.mozilla.devel.small-devices
Message-ID <[email protected]>
Hi Barry ,

> Can we get the function to switch images off like in IE as I find this=20
> useful when connected via gprs to cut down data costs.
>

Probably, you are talking about the MiniMo ported to WinCe, right ?! So,=20
I don't know exactually how to answer you, but as the base code is the=20
same both for Linux as for WinCE you can try something like:

<quoted>
    // images handling
    preference_set_boolean ("advanced.always_load_images", false);
    preference_set_int ("network.image.imageBehavior",=20
gPreferenceConfig->loadImages);

At this point, the keys are :

** the function 'preference_set_*'

** the option and the value assigned to it (e.g.=20
"network.image.imageBehavior", intValue)

Try to adapt it to run on Win. I think the file /embedding/minimo$ more=20
all.js can be a good start point.

ps: if you are able to make it works, please let me know, because on=20
Linux I am not able yet :S

regards

--=20

---------------------------
 .''`.     Ant=F4nio Gomes de A. Netto
 : :'  :   Embedded Linux Developer
  . `'`    <[email protected]>
   `- Debian - when you have better things to do than fixing a system

"... but my whole life I've been writing my own tools for my own use. I'l=
l survive ..." (Torvalds, Linus)

Embedded Linux Lab (10LE)
Instituto Nokia de Tecnologia (INdT)
Nokia Technology Institute
Manaus / Brazil