General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Pages: Previous12
Current Page: 2 of 2
Re: Question about "permissions.sqlite"
Posted by: JamesD
Date: December 12, 2015 03:06PM

I just did a scan of my system and I do not have any files with the extension "tmf". I do have two folders with the name "tmf", however both are empty.

There are 59 lines of info in the SiteSecurityServiceState.txt file for this KM profile.

I guess they would just get re-built if I delete the file?

How useful is this file for me? Note only KM 76 has it. KM 75.5 does not.

Options: ReplyQuote
Re: Question about "permissions.sqlite"
Posted by: rodocop
Date: December 12, 2015 03:39PM

Yes, this file appeared in Gecko 35 so it's absent in KM75.x and earlier

People suggest to delete the contents of this file and make it readonly.

Options: ReplyQuote
Re: Question about "permissions.sqlite"
Posted by: JamesD
Date: December 12, 2015 07:36PM

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.

Options: ReplyQuote
Pages: Previous12
Current Page: 2 of 2


K-Meleon forum is powered by Phorum.