disable "cache encrypted contents on disc" option
Posted by: caktus
Date: December 14, 2011 10:38PM

Is there a way to disable "cache encrypted contents on disc" option so it cannot be enabled. Or better yet, completely remove the option?

I am using km 1.5.4.

Thank you.

Charlie

~~If it ain't broke, why screw it up?~~


Re: disable "cache encrypted contents on disc" option
Posted by: JamesD
Date: December 15, 2011 02:04AM

This is not perfect as someone could remove the macro, but if they don't know to look for it . . .

SecureCache.kmm

#  K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#  
# ---------- SecureCache.kmm
# ---------- K-Meleon Macro Language turn off cache for encryped items ---------
#
# Dependencies        : main.kmm 
# Resources           : 
# Preferences         : "browser.cache.disk_cache_ssl" bool
# Version             :  1.0   2011-12-14
# Author              :  JamesD  
# --------------------------------------------------------------------------------

_SecureCache_AutoDisable {
getpref(BOOL,"browser.cache.disk_cache_ssl") ? setpref(BOOL,"browser.cache.disk_cache_ssl", false) : 0;
}

# - - - - - - - - - - - - - - - - - - - 
$OnLoad=$OnLoad."_SecureCache_AutoDisable;";
$macroModules=$macroModules."SecureCache;";


Re: disable "cache encrypted contents on disc" option
Posted by: caktus
Date: December 29, 2011 02:48AM

Thank you, JamesD. Works like a charm. Sorry it took me so long to reply back, I probably had thoughts of sugar plumbs slamming around in my head these past couple of weeks. So much to do and so little time, seems to be less and less time every year. Hope the Holiday Season has treated everyone at the KM Forums and SourceForge well, and hope everyone has a Happy and Prosperous New Year.smiling smiley

Charlie

~~If it ain't broke, why screw it up?~~


K-Meleon forum is powered by Phorum.