-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
harden bookmarks functionality: #279
Conversation
nodiscc
commented
Apr 28, 2017
- Don't fetch and permanently store bookmarks favicons to $profile_dir/shortcutCache
- Disable periodic bookmarks backups (default: 15) to disk
* Don't fetch and permanently store bookmarks favicons to $profile_dir/shortcutCache * Disable periodic bookmarks backups (default: 15) to disk
user.js
Outdated
@@ -717,6 +717,14 @@ user_pref("browser.helperApps.deleteTempFileOnExit", true); | |||
// https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/Preference_reference/browser.pagethumbnails.capturing_disabled | |||
user_pref("browser.pagethumbnails.capturing_disabled", true); | |||
|
|||
// PREF: Don't fetch and permanently store bookmarks favicons to $profile_dir/shortcutCache | |||
// NOTICE: Bookmarks will only be shown with a generic icon | |||
user_pref("browser.shell.shortcutFavicons", false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some PoC where a phishing google shortcut is put on the desktop.
It's not bookmark shortcuts. It's shortcut icons cached for the system to use with URL shortcuts - eg drag and drop an url to your dekstop. Bookmark icons are stored in the sql tables /** FAVICONS ***/
/* 1030: disable favicons in shortcuts
* URL shortcuts use a cached randomly named .ico file which is stored in your
* profile/shortcutCache directory. The .ico remains after the shortcut is deleted.
* If set to false then the shortcuts use a generic Firefox icon ***/
user_pref("browser.shell.shortcutFavicons", false);
/* 1031: disable favicons in tabs and new bookmarks
* bookmark favicons are stored as data blobs in places.sqlite>moz_favicons ***/
// user_pref("browser.chrome.site_icons", false);
// user_pref("browser.chrome.favicons", false);
/* 1032: disable favicons in web notifications ***/
// user_pref("alerts.showFavicons", false); |
@Thorin-Oakenpants Thanks for the hint, my understanding of this pref was wrong. I will amend the pref description Is this behavior Windows-specific? When I drag an URL/bookmark to my desktop/file manager (XFCE4/xfdesktop+thunar on Debian) it simply creates a standard Freedesktop .desktop launcher using a generic icon Then the description should be
It would be interesting to know how it behaves on OSX. @pyllyukko I believe we can safely ignore |
The other inactive prefs in the code sample above we left in for informational purposes (some people don't like favicons). The alerts I'm not sure on. There's no real damage having randomly named icons cached (there's no info in them), but it breaks that persistent storage and crosses the browser/os line. It also never cleans itself AFAIK. I had several hundred wiki (and some other site icons) in mine covering about 2 years (I always add a wikipedia link to the root folders of tv shows in my media drives). I guess if someone ever got onto my pc they could infer I had been to wikipedia based on the icon image - big deal, they're IN my PC :) Windows only? Not 100% sure. We're going to go thru all diff between Win/Mac/Nix and do some tagging - see arkenfox/user.js#109 - see erthling's dump here-> https://earthlng.github.io/FFprefs-diffs/Firefox-v53.0.html . Note: We also discussed and tested in depth favicons - see arkenfox/user.js#48 and also mentioned/covered/more-tests in arkenfox/user.js#51 OSX - our MAC man is @grauenwolfe who is a collaborator at ghacks - just throw him a comment |
Oh, one thing I didn't think of, and I'm not sure - but fav icons can be specified - eg cross domain. This is a definite possible tracking mechanism, and of the top of my head I am not sure if uMatrix, uBo covers these? |
uMatrix Log lists them as images: |
@pyllyukko Should it be merged? Or should I move these 2 prefs to ignore.list? Thanks |