Development :  K-Meleon Forum
K-Meleon development related discussions. 
How to browse offline(history),
Posted by: Bojan
Date: February 25, 2003 04:38AM

How to browse offline(history): Tried with about:cache , but I can't open sites.

Can I see window with sites history?

How to enable/disable proxy using setpref(type, pref, value) or togglepref(type, pref, values...)?

How to taggle image loading using setpref(type, pref, value) or togglepref(type, pref, values...)?

Also working online /offline values?

Is it possible in v0.7?

Options: ReplyQuote
Re: How to browse offline(history),
Posted by: Ismo
Date: February 25, 2003 08:03AM

Hi Bojan
Try to set your Preferences / Cache / Cache comparison to Never to
enable offline mode.

It might be the same as mozilla's
pref("browser.cache.check_doc_frequency", 2);
// 0 = once-per-session, 1 = each-time, 2 = never, 3 =automatically
with K-Meleon it should be
setpref(INT,"browser.cache.check_doc_frequency",2);

I haven't tried the following but a part of it might work.

The following settings are mozilla settings.
Look at http://kmeleon.freewebsites.com/tmp/mozilla-prefs.html
The problem is that there isn't any document (as far as I know) which
tells which mozilla preferences doesn't work with K-Meloen.

setpref(INT,"network.image.imageBehavior",2); doesn't load images (0=all, 1=site, 2=none). to toggle it should be
togglepref(INT,"network.image.imageBehavior",0,1,2);


You could try setpref(BOOL,"network.online",false); to go offline
and to disable proxy
setpref(STRING,"network.proxy.http", "");
setpref(INT,"network.proxy.http_port", 0);

setprefINT,"browser.startup.page",0); for blank startup page
K-Meleon has also
setpref(BOOL,"kmeleon.general.startHome", false);

Sorry that at the moment I don't have time to try these settings.

all.js also has many interesting settings!

Look at
http://kmeleon.sourceforge.net/forum/read.php?f=1&i=7176&t=7176
for history button.

All this should keep you busy for a while ;)
Please tell us how it all went (success, failure, abort ?)
At least don't ignore us ;)

Options: ReplyQuote
Re: How to browse offline(history),
Posted by: Bojan
Date: February 26, 2003 06:13PM

Thanks for help.

I dont know how to add off/on mark in menu. Like view / toolbars / menu. Selected and unselected.
Few changes in files can be found here http://vuks.host.sk/km/
km.zip Includes images off/on, proxy off /on, go smiling smiley , new tab,close tab, offline/ online, and run menu.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.