Page 1 of 1

Firefox and Chrome preference reading attempt

PostPosted: Sun May 23, 2021 8:07 am
by vco1
When starting the debug mode in Hazel and going through the log file, I came across the following:

Code: Select all
2021-05-23 13:12:02.711 hazelworker[61607] DEBUG: Program is licensed.
2021-05-23 13:12:02.726 hazelworker[61607] DEBUG: Error reading file /Users/myusername/Library/Application Support/Firefox/prefs.js: Error Domain=NSCocoaErrorDomain Code=260 "The file “prefs.js” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/myusername/Library/Application Support/Firefox/prefs.js, NSUnderlyingError=0x7fb0aa019120 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
2021-05-23 13:12:02.728 hazelworker[61607] DEBUG: Could not find entry for default_directory in Chrome preference file.


Why is Hazel attempting to read browser preference files? I don't have any rules set for these directories.

Re: Firefox and Chrome preference reading attempt

PostPosted: Mon May 24, 2021 10:36 am
by Mr_Noodle
Hazel does that to see which folders those browsers use to download to. This helps determine certain things, like what kind of scheme they use for specifying incomplete downloads.

Re: Firefox and Chrome preference reading attempt

PostPosted: Tue May 25, 2021 10:26 am
by vco1
Thanks for the explanation.

The preferences are in another location though. At least on my Mac. ;-)

Re: Firefox and Chrome preference reading attempt

PostPosted: Wed May 26, 2021 9:42 am
by Mr_Noodle
Is there some special configuration you are using? Can you tell me what that location is?