Created
November 9, 2013 08:05
-
-
Save prenaudin/7382992 to your computer and use it in GitHub Desktop.
How to reset a favicon of a specific site in Safari ( 5+ ) ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Close Safari | |
$ sqlite3 $HOME/Library/Safari/WebpageIcons.db | |
# Find the iconID and then copy it | |
sqlite> select iconID from IconInfo where url='https://mysite.com/favicon.ico'; | |
NNNN | |
# Delete the icon datas of this icon | |
sqlite> delete from IconData where iconID=NNNN; | |
sqlite> delete from IconInfo where iconID=NNNN; | |
sqlite> .quit | |
# Open Safari and enjoy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment