Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Permanently disable Safari's favicons Web Browsers
If you'd prefer Safari never remembered favicons, here's a simple way to do just that, while also removing any currently-stored favicons. Quit Safari if it's running, then open Terminal (in Applications » Utilities) and enter these commands (don't enter the $; that's just the prompt):
$ cd ~/Library/Safari
$ rm WebpageIcons.db
$ ln -s /dev/null WebpageIcons.db
The first command sets the proper working directory, the second removes the current favicon database, and the third recreates the database file, but links it to /dev/null, so that any output written to the file is summarily discarded.

[robg adds: This works as described, though I personally prefer to keep the favicons. Note that this hint replaces this one, which only works for older versions of Safari.]
    •    
  • Currently 1.88 / 5
  You rated: 4 / 5 (8 votes cast)
 
[12,126 views]  

Permanently disable Safari's favicons | 7 comments | Create New Account
Click here to return to the 'Permanently disable Safari's favicons' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Permanently disable Safari's favicons
Authored by: Coumerelli on Apr 21, '09 07:58:17AM
Rehint times three at least? But this might be the cleanest way. Other methods included changing permissions to read only, or just emptying the folder now and again.

---
"The best way to accelerate a PC is 9.8 m/s2"

[ Reply to This | # ]

Permanently disable Safari's favicons
Authored by: Coumerelli on Apr 21, '09 08:00:05AM

Note: I want to add that I do see the note from Rob.

---
"The best way to accelerate a PC is 9.8 m/s2"



[ Reply to This | # ]
Permanently disable Safari's favicons
Authored by: robg on May 26, '09 09:35:32AM

All are different, as Apple kept changing things with various releases of Safari. That said, the Terminal method noted elsewhere here in the comments is the best solution.

-rob.



[ Reply to This | # ]
Permanently disable Safari's favicons
Authored by: bdash on Apr 21, '09 02:10:56PM

This is an incredibly poor way to disable favicon support. A much safer and less convoluted approach is:

defaults write.com.apple.Safari WebIconDatabaseEnabled -bool NO

[ Reply to This | # ]
Permanently disable Safari's favicons
Authored by: Laqua on Feb 26, '10 05:55:32AM

You have a minor error. There is no period between write and com, command should be:
defaults write com.apple.Safari WebIconDatabaseEnabled -bool NO

---
Thanks
Laqua



[ Reply to This | # ]
Permanently disable Safari's favicons
Authored by: sajoman on Sep 14, '11 03:58:12PM

how to disable it permanently for Safari 5.1 following my steps:

1. close Safari and go via Finder on path /Users/YOUR-USER-ACCOUNT/Library/Safari
2. delete WebpageIcons.db (this was created after first Safari launch)
3. open TextEdit and create an empty WebpageIcons.db and save it to the above path
4. over Finder's GetInfo lock this file and launch Safari
5. now your favicons will be common and even after jumping to any site Safari cant write to the WebpageIcons.db (SQLite) because its empty and locked for editing

PS: Its working (tested on Snow Leopard), I haven't seen another workaround for Safari 5.1 yet, eg. editing Safari plist over terminal



[ Reply to This | # ]
Permanently disable Safari's favicons
Authored by: Jasper84 on Jan 25, '12 01:13:27PM

I was wondering how to undo this...?
I would like to see the icons again :-) , in The Netherlands we call this a draaikont (http://www.mijnwoordenboek.nl/vertaal/NL/EN/draaikont) :-P!

$ cd ~/Library/Safari
$ rm WebpageIcons.db
$ ln -s /dev/null WebpageIcons.db

Thanks in advance!

Jasper.



[ Reply to This | # ]