Quote
rodocop
Should we precreate this file and set it to readonly to avoid fingerprinting?
This is not quite so drastic. Data still exists in current session.
Edit: It seems to work only for a session without an hsts record. File is locked if session built a hsts record.
Edit2: This version works. Changed event from OnQuit to OnInit. Works even when my home page is one which causes a hsts record.
hsts_empty.kmm
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------- hsts_empty.kmm
# ---------- K-Meleon Macro Language delete file on quit --------
#
# Dependencies : main.kmm
# Version : 0.2 2015-12-12
# --------------------------------------------------------------------------------
_hsts_delete {
$__path = getfolder(ProfileFolder) . "\\SiteSecurityServiceState.txt" ;
$__return = deletefile($__path);
$__return ? logmsg("Hsts delete OK", warning) : logmsg("Hsts delete = ".$__return, warning);
}
# = = = = = = = = = = = = = = = = = = = = = = = = = = =
$OnInit=$OnInit."_hsts_delete;";
$macroModules=$macroModules."hsts_empty;";
Edited 2 time(s). Last edit at 12/13/2015 01:02AM by JamesD.