( ( ( KMFILES, K-Meleon-db, HELP! ) ) )

This is the help file for the KMFILES macros for the K-meleon & db types browser.
Update is at: http://home.dbdbdugbug.operaunite.com/Projects/content/KMFILES/A_KMFILES_HELP.html

http://home.dbdbdugbug.operaunite.com/Projects/content/KMFILES--(K-Meleon-db types)
http://kmeleon.sourceforge.net
http://kmeleon.sourceforge.net/wiki/kmeleon16
http://kmeleon.sourceforge.net/wiki/kmeleon17
http://kmeleon.blogspot.com
http://kmeleon.sourceforge.net/wiki/UKmeleon
http://appstogo.mcfadzean.org.uk/kmeleon.html

KMFILES HELP:

( ( ( KMFILES, K-Meleon-db, Notes, Security ) ) ) ( ( ( Speed Notes ) ) ) ( ( ( Security Notes ) ) ) ( ( ( Flash Notes ) ) ) | ( ( ( Cache Notes ) ) ) ( ( ( Offline Notes ) ) ) ( ( ( Skin Notes ) ) ) ( ( ( K-Meleon Forum ) ) )

( ( ( KMFILES, K-Meleon-db, Notes, Security ) ) )

To place these files in K-meleon go to:
"Edit" then "Configuration" then "User-Defined Macros" & place the files in there.
Place the files in order, as in starting with the "1-Speed" setting, then the "2-Cache" settings, etc.
1,2,3, etc... This will make it easy putting the settings in order.

You will need to place the Macros in each profile you have.
Skins go in the skins folder.

To make Vista or Win 7 work you will
have to delete "profile.ini" file in K-meleon-db
So the K-meleon-db profile will go to the
"Application Data" type file.

If you want it there anyway just delete
that "profile.ini", file!

The "Speed Settings" on
http://www.angelfire.com/bug/dugbuglas2/Browser_test.html
is the same as on the Speed file.

The difference with KM 1.5 - 1.7
on a "DuGBuG office OS" system is:
http://www.angelfire.com/bug/dugbuglas2/OLDPC.html

RAM usage.
KM 1.5 uses 11 ram
KM 1.6 uses 14 ram
KM 1.7 uses 16 ram

There is an file called "webappsstore.sqlite" that might
be in your profile. It is an "DOM Storage" that is put in your
profile from web sites like Cookies are, but the "DOM Storage"
holds more info.

If you have been having a hard time with K-meleon it is more likely
that file. So Delete it more often or turn it off.
Partly it is related to the settings,
setpref(BOOL,"dom.indexedDB.enabled",false);
setpref(INT,"offline-apps.quota.max",2000);
They keep the size small for security.

This is something else to delete out of your profile, as
like cookies. But the option to turn it off is on the KMFILES also
set to the "Secure5-MedHigh.kmm" setting.
To turn it off just set the,
setpref(BOOL,"dom.storage.enabled",false)

If it is still there. Open the "webappsstore.sqlite" in WordPad
and delete all you see & type in Privacy Program and save it.
Then set it to Hidden, Read-only, Archive.
And be sure not to delete it. The file will not write
any data on it now.

Most issues you will have is if you lock up your profile!
But it is worth doing!

Also I have found the "version.ini" file in the profile file.
I didn't like what was on it so I saved it as a blank page & set to
"hidden, read-only, archive" The bad thing is about it, doing that
stops you from changing the homepage.
It makes you load up the starting page, the Readme.html file in K-meleon.
So you can just save your homepage to that file.

You might have to do the something to other files that might pop up.
You just have to play with the files, until it fits you!

YouTube & some video sites will freeze up.
The best way to stop it from doing that is to
Turn on the "Secure3-Low.kmm" setting, added to the others.
It will turn off the "jit"
setpref(BOOL,"javascript.options.jit.content",false);
setpref(BOOL,"javascript.options.jit.chrome",false);

This is partly that has the Youtube bug.
The "jit" is an security issue with K-Meleon anyway!

There was a little bug on the browser. When you had many tabs
open & went back & forth from tab to tab one of the tabs would just vanish!

I found the bug related to the "history.dll" file in "kplugins" folder.
The only fix I found was to go back to the 1.5 K-meleon history file.
With that it does speed up K-Meleon.
But the bad thing you can't delete the history from the browser, so you will
have to set your file shredder to delete it, or manually delete
the "Khistory.dat" file in your profile to clean the history.
If you turn off the History, the tabs again do the disappearing act!
So History is needed for the tabs!

I no longer use UPX on the files. That helped some videos sites
from locking up. Something just does not work right with it.
It also brings up the mem usage as seen in
FireFox 3.6.29. After the UPX it's MEM was 19. And No UPX it was 16.
So with that I put the change to the db types.

But UPX might help in securing your browser.
I have noticed it keeps the browser from having
flash related security issues. As in when you go to a flash site
& K-meleon keeps running then stopping & running again, like a pulse.

Also it might help to keep an tab open to help the videos play.
Other than that, im still working on it.

As a tip for security you should turn off your frames & rename the K-Meleon program file & the K-Meleon.exe,
just for security. Set all but the Profile as in "acezil3g.default" file to "hidden, read-only, archive."
Or you could set all in the profile to "hidden, read-only, archive"
but set "cert8.db, key3.db, opera.adr or your bookmarks file."
to "hidden, archive." This will secure it up, but if you need frames, you won't be able
to restart the browser to make the frames work.

Also note that you might have other files that pop up like if you have a locked up profile.
"prefs-1.js" 2,3, etc... Or even your bookmarks files.
I am not sure why it does that, it depends on the website you go to.
It is a security issue, I have noticed a Flash video crash, or attack if those files are in my profile.
The best fix for it is to use "CookieMuncher" on the file, so you can delete it
as soon as it pops up. You will only have to delete the file like "prefs-1.js" file the rest will not
pop up 2,3, etc, if the file is deleted.
The file also needs to be NOT set to "hidden, read-only, archive." "CookieMuncher" can not delete it if it is.
Other files are "NoScriptSTS.db.tmp" and "opera.adr_backup" if you use the Opera bookmarks type.

"CookieMuncher" has it's own issues, so when you set it up to delete the "prefs-1.js" in your
K-Meleon profile.
Then go to your "Windows" file & look for the "cookiem.ini" file
& set it to "hidden, read-only, archive."also.

You can turn off all Bookmarks & History in the K-meleon settings.
You could open your bookmark as a homepage. Compress it with http://www.htmlzip.com
And set it to "hidden, read-only, archive." after you set it as your homepage in K-meleon.
If you are having a hard time in security.

****All of this is worth doing. It makes K-meleon unstoppable!
Believe me, many have tried to stop me, and they can't! K-Meleon goes on right over them!

"CookieMuncher" is located at:
http://home.dbdbdugbug.operaunite.com/Projects/content/KMFILES/CookieMuncher

As a note all 1.6db, 1.7db types are just the browser
with no added parts.

Added to K-Meleon all 1.6db+, 1.7db+
is "spell check" from:
http://kmext.sourceforge.net/ext7.htm

And "LastPass" "Refcontrol" & "Unmask Parasites"
from: http://kmext.sourceforge.net/ext1.htm
"LastPass" is only added to 1.7db+

And "Stylish" from:
http://kmext.sourceforge.net/ext7.htm

Also added is "profiles backup" from:
http://kmext.sourceforge.net/ext7.htm
And "Image Rotate 3" from: (Note does NOT work on KM 1.5db
http://kmext.sourceforge.net/ext7.htm

There are some issues with K-meleon 1.7+ The SetDefault.exe
might not work good.

Also the history, works K-meleon 1.7, But you will need to
replace the file "history.dll" in the "kplugins" folder with
the other version included in the KM 1.7 download.

The good thing. It speeds up K-Meleon & has a history now.
But the bad thing you can't delete the history, so you will
have to set your file shredder to delete it, or manually delete
the "Khistory.dat" file in your profile to clean the history.

This is here as an option for a History for KM 1.7
If you want security with no history don't instal this.

Note! To make spell check work put the cursor on the
underlined miss spelled word, like you are going
to work on it & right click it go to spell check
& get the word.

Also note you can add CSS from:
http://userstyles.org

Stylish v0.5.2

Notes:
1. After adding a new style the Stylish Manager must be re-opened for it to appear on the list.
2. You must copy/paste style content from userstyles.org. The "Install" button doesn't show.
3. 'Find Updates' is untested.
4. The Stylish Manager & Edit windows will need to be resized on each load, unfortunately. Version 0.4 does not do this.
5. On first run, the stylish manager will not display correctly. it must be closed and re-opened.

Add this as your first style, so that the code will appear on userstyles.org!

@-moz-document domain(userstyles.org) {
#view-code {
display:block!important;
max-height:15em!important;
}
#show-button{display:none!important}
}

( ( ( TOP PAGE ) ) )

( ( ( Speed Notes ) ) )

The settings are set for better speed.

( ( The settings when on "Speed1-Reg.kmm" are: ) )
setpref(BOOL,"app.update.enabled",false);
setpref(BOOL,"content.notify.ontimer",true);
setpref(INT, "content.notify.interval",240000);
setpref(INT, "content.notify.backoffcount",10);
setpref(BOOL,"network.http.pipelining",true);
setpref(INT, "network.http.pipelining.maxrequests",8);
setpref(BOOL,"network.http.proxy.pipelining",true);
setpref(BOOL,"network.http.pipelining.firstrequest",true);
setpref(BOOL,"network.dns.disableIPv6",true);
setpref(INT, "nglayout.initialpaint.delay",0);
setpref(INT, "network.http.max-connections",48);
setpref(INT, "network.http.max-connections-per-server",24);
setpref(INT, "network.http.max-persistent-connections-per-proxy",16);
setpref(INT, "network.http.max-persistent-connections-per-server",12);
setpref(INT, "network.http.keep-alive.timeout",600);
setpref(INT, "network.http.request.max-start-delay",5);
setpref(INT, "browser.cache.offline.capacity",590000);
setpref(BOOL,"content.interrupt.parsing",true);
setpref(INT, "content.max.tokenizing.time",2333333);
setpref(INT, "content.switch.threshold",849999);
setpref(BOOL,"config.trim_on_minimize",true);
setpref(INT, "ui.submenuDelay",50);
setpref(BOOL,"html5.enable",true);
setpref(INT, "content.maxtextrun",4095);
setpref(INT, "network.http.request.max-start-delay",5);
setpref(INT, "network.ftp.idleConnectionTimeout",150);

( ( ( TOP PAGE ) ) )

( ( ( Secure Notes ) ) )

These settings are for the security.
The Low setting is for websites that need less security,
like Youtube etc.

The Med setting is for other sites, more of the norm setting
for security.

The MedHigh setting, is more locked up. More security.

The High setting is all Java turned off.

The Secure1-DNS setting turns off all DNS.
And Secure2-Pre turns off the prefetch.

The DisableCSS settings turn off the CSS!

All files are used together for security.
"Secure4-Med.kmm" adds to the "Secure3-Low.kmm" part etc.

( ( The "Secure1-DNS.kmm" settings are: ) )
setpref(BOOL,"network.dns.disablePrefetch",true);
setpref(INT, "network.dnsCacheEntries",0);
setpref(INT, "network.dnsCacheExpiration",0);

( ( The "Secure2-Pre.kmm" settings are: ) )
setpref(BOOL,"network.prefetch-next",false);

( ( The "Secure3-Low.kmm" settings are: ) )
setpref(BOOL,"kmeleon.adblocking",true);
setpref(BOOL,"security.enable_java",false);
setpref(BOOL,"security.xpconnect.plugin.unrestricted",false);
setpref(BOOL,"network.http.sendSecureXSiteReferrer",false);
setpref(INT,"network.http.sendRefererHeader",0);
setpref(BOOL,"geo.enabled",false);
setpref(BOOL,"kmeleon.favicons.cached",false);
setpref(BOOL,"kmeleon.favicons.titleBar",false);
setpref(BOOL,"kmeleon.favicons.show",false);
setpref(BOOL,"network.protocol-handler.external-default",false);
setpref(BOOL,"layout.css.visited_links_enabled",false);
setpref(BOOL,"webgl.disabled",true);
setpref(BOOL,"javascript.options.jit.content",false);
setpref(BOOL,"javascript.options.jit.chrome",false);

( ( The "Secure4-Med.kmm" settings are: ) )
setpref(BOOL,"browser.cache.offline.enable",false);
setpref(BOOL,"svg.enabled",false);
setpref(BOOL,"editor.use_css",false);
setpref(BOOL,"dom.disable_window_move_resize",true);
setpref(BOOL,"dom.allow_scripts_to_close_windows",false);
setpref(BOOL,"dom.disable_window_flip",true);
setpref(BOOL,"dom.disable_window_status_change",true);
setpref(BOOL,"browser.blink_allowed",false);
setpref(BOOL,"dom.event.contextmenu.enabled",false);
setpref(BOOL,"gfx.downloadable_fonts.enabled",false);
setpref(BOOL,"dom.indexedDB.enabled",false);
setpref(INT,"dom.storage.default_quota",1000);
setpref(BOOL,"media.webm.enabled",false);
setpref(INT,"network.websocket.max-message-size",2000000);
setpref(INT,"offline-apps.quota.max",2000);
setpref(BOOL,"intl.locale.matchOS",false);

( ( The "Secure5-MedHigh.kmm" settings are: ) )
setpref(BOOL,"browser.frames.enabled",false);
setpref(BOOL,"dom.storage.enabled",false);
setpref(STRING,"image.animation_mode",none);

( ( The "Secure6-High.kmm" settings are: ) )
setpref(BOOL,"javascript.enabled",false);
setpref(BOOL,"dom.disable_image_src_set",true);

( ( The "DisableCSS.kmm" settings are: ) )
DisableCSS{
macroinfo=_("Toggle CSS Styles");
menuchecked=getpref(BOOL,"kmeleon.disablecss");
menugrayed=!getpref(BOOL,$pref_JavaScript);
togglepref(BOOL,"kmeleon.disablecss");
&Toggle_CSS;
statusbar(sub("%s",getpref(BOOL,"kmeleon.disablecss")?$off:$on,_("CSS Styles %s")));

( ( ( TOP PAGE ) ) )

( ( ( Flash Notes ) ) )

( ( The settings for "Flash-Off.kmm" is: ) )
setpref(BOOL, "kmeleon.flashblock",true);
setpref(BOOL, "flashblock.silverlight.blocked",true);

When it is turned on "checked" It turns on the flash block.
And un-checked it tuns off the flash block.

( ( The settings for "Ogg-Off.kmm" is: ) )
setpref(BOOL, "media.ogg.enabled",false);

When this is on it turns off the .OGG flormat for videos.

( ( The settings for "Same-Origin.kmm" is: ) )
setpref(BOOL, "media.enforce_same_site_origin",true);

This prevents media from loading if its coming from a diffrent site

To place the files in K-meleon go to:
"Edit" then "Configuration" then "User-Defined Macros" & place
the file in there.
You will need to place it in each profile you have.

( ( ( TOP PAGE ) ) )

( ( ( Cache Notes ) ) )

( ( The settings for "Cache1-Off.kmm" are: ) )
setpref(INT, "browser.cache.disk.capacity",0);
setpref(BOOL,"browser.cache.disk.enable",false);

When it is turned on "checked" It sets the cache to "0"
& turns is off for security.

( ( The settings for "Cache2-On.kmm" are: ) )
setpref(INT, "browser.cache.disk.capacity",76800);
setpref(BOOL,"browser.cache.disk.enable",true);

If you use "Cache1-Off.kmm" & turn it off the cache will
go to the stock setting of 32768.
That is why you also need "Cache2-On.kmm" to set it to 76800.

( ( The settings "Cache3-MemOff.kmm" are: ) )
setpref(INT,"browser.cache.memory.capacity",0);
setpref(BOOL,"browser.cache.memory.enable",false);

It turns off the Memory cache for security.

( ( And the "Cache4-MemOn.kmm" sets the settings to:
setpref(INT,"browser.cache.memory.capacity",65536);
setpref(BOOL,"browser.cache.memory.enable",true);

It sets the settings for better speed.

( ( And the settings on "Cache5-Nev.kmm" are: ) )
setpref(INT,"browser.cache.check_doc_frequency",2);

This sets the Cache to (Never-Allways load from Cache)
Un-checked sets is back to the norm settings.

( ( The settings on "Cache6-Xul.kmm" is
setpref(BOOL,"nglayout.debug.disable_xul_cache",true);
setpref(BOOL,"nglayout.debug.disable_xul_fastload",true);
***You might have to restart the browser twice for it to work.

To place the files in K-meleon go to:
"Edit" then "Configuration" then "User-Defined Macros" & place
the file in there.
You will need to place it in each profile you have.

( ( ( TOP PAGE ) ) )

( ( ( Offline Notes ) ) )

This puts a offline button on your browser.
To use the the button you need to put the "Offline.kmm" file in the
"User-Defined Macros" folder.

To place one of the files in K-meleon go to:
"Edit" then "Configuration" then "User-Defined Macros" & place the
file in there. You will need to place it in each profile you have.

To turn it on just go to "View" then "Toolbars" &
see if the "Offline button" is checked.

This can work with any skin. You will need to get into the
"Offline.kmm" file & add the location & size to where the photo is
on your skins.

The Offline_Toggle is from kko From:
"Re: Would like SOUNDS & VISITED LINK COLORS etc."

http://kmeleon.sourceforge.net/forum/read.php?4,72761,72762

All respects & thanks, are for the designers.

( ( ( TOP PAGE ) ) )

( ( ( Skin Notes ) ) )

The skins for 1.5 & 1.6+ have been changed to work better.
http://kmeleon.sourceforge.net
http://kmeleon.sourceforge.net/wiki/kmeleon16
http://kmeleon.sourceforge.net/wiki/kmeleon17

Added to most skins is a JavaScript console button & the
Clear all on the privacy bar now takes you to the
Privacy Plug in Settings dialog

There is also a offline button. To use the the button you need
to put the "dbOffline.kmm" file in the "User-Defined Macros"
folder. To see if it is on just go to "View" then "Toolbars" &
see if the "Offline button" is checked.

The "dbSafari1a / dbTango " skin is the everything skin.
Added is a roll of security buttons including Block Frames,
Kill flash, Block Page colors, Java, Java Script & more.

All respects & thanks, are for the skin designers.

( ( ( TOP PAGE ) ) )