Как обновить закладки в Chrome

126677
pdeva

Я обновил иконки для нескольких моих сайтов. Обновление веб-сайта действительно показывает обновленный значок на вкладке браузера, однако закладки для этих веб-сайтов все еще имеют старый значок.

Если не считать удаления и повторного добавления каждой закладки, есть ли способ заставить Chrome обновить закладки каждого веб-сайта? Почему просто посещение сайта не обновляет значок закладки?

59
Вы используете функцию синхронизации закладок Chrome? Если нет, попробуйте, так как это может привести к обновлению значков. Keith Kemp 12 лет назад 0
я уже использую это pdeva 12 лет назад 0
Вы пробовали это расширение Chrome? Это единственный для массового обновления. https://chrome.google.com/webstore/detail/bookmark-favicon-changer/acmfnomgphggonodopogfbmkneepfgnh/related Revious 9 лет назад 0
Примечание. Иногда файлы .ico на самом деле содержат два масштабированных изображения (например, 32x32 и 16x16), поэтому обновления одного не будут отображаться на другом. Kzqai 8 лет назад 0

9 ответов на вопрос

51
Synetech

Вы пытались очистить кеш, а затем перезапустить Chrome? Попробуйте сначала. Если это не сработает, то вам придется заставить его следующим образом.

  1. Закрыть Chrome
  2. Откройте папку « Данные пользователя »
  3. Удалить Faviconsфайл
  4. Запустите Chrome
  5. Посетите сайты, чтобы принудительно загрузить иконки
Но это требует посещения сотен сайтов ... есть ли другой способ? Revious 9 лет назад 11
Вы можете попробовать установить закладку, когда включена синхронизация Chrome и настроена синхронизация закладок. По моему опыту, он автоматически затрагивает каждую отдельную закладку, заставляя их всплыть на вершину истории и якобы обновляя их значки. Некоторое время назад я опубликовал отчет об ошибках в этом поведении, чтобы они могли или не могли это исправить. Synetech 9 лет назад 1
У меня нет файла favicons niico 7 лет назад 1
Текущая версия, кажется, помещает вещи в папку «Default» вне корневой папки данных пользователя. Файл favicons находится там, и если вы удалите его (пока все окна Chrome закрыты), он будет перезагружать их при следующем посещении сайтов). Ambrose Little 6 лет назад 1
37
JMax

Вы пытались принудительно обновить страницу, когда находитесь на странице, и нажимаете Ctrl+ R?

[РЕДАКТИРОВАТЬ] (Кредиты Джеймсу, см. Его комментарий) попробуйте обновить и очистить кэш с помощью Ctrl+ Shift+R

[ Источник на Справочном форуме Google Chrome ]

пытался. не работал pdeva 12 лет назад 3
Чтобы расширить это, если вы нажмете Shift + Ctrl + R, он перезагрузится без кэша, поэтому обновите ваш значок. Я просто попробовал это сам, и это сработало. Baub 11 лет назад 14
Этот метод работает только в том случае, если значок в вашем кэше был загружен с помощью атрибута вашего веб-сайта. Если у вас его нет, значок, кажется, застрял в подвешенном состоянии - и не связан с кешем страницы. Я думаю, что это причина, во всяком случае, но я не уверен на 100%. Я знаю, что Ctrl + Shift + R определенно НЕ 100% решение, хотя. Radley Sustaire 10 лет назад 2
8
Spooky

My issue was that despite deleting the favicon for a locally hosted site, Chrome still displayed it.

This comment on a Chromium issue says:

Favicons are not stored in the cache, they're stored in one of the SQLite databases. So they don't get cleared with the cache. This is a good thing since all your bookmarks would lose their icons until you visited them again.

This explains why clearing my cache did not solve the problem.

Here's what I did to clear the favicons for my site:

  1. Closed Chrome in order to release its file locks
  2. Downloaded the appropriate SQLite command-line shell for my OS
  3. Extracted the archive
  4. Opened my user data directory
  5. Deleted the Favicons-journal file
  6. Copied my Favicons file into the same directory as the SQLite command-line shell
  7. Opened Command Prompt
  8. Changed directory to that which contains the SQLite command-line shell
  9. Executed sqlite3 from Command Prompt
  10. Ran the SQL which follows this list
  11. Moved the Favicons file from my SQLite command-line shell directory back into my user data directory
.open Favicons DELETE FROM favicons WHERE id IN ( SELECT icon_id FROM icon_mapping WHERE page_url LIKE '%localhost:%' ); DELETE FROM favicon_bitmaps WHERE icon_id IN ( SELECT icon_id FROM icon_mapping WHERE page_url LIKE '%localhost:%' ); DELETE FROM icon_mapping WHERE page_url LIKE '%localhost:%' ; 

Adjust this to suit the URLs which you wish to clear the favicons for. In my case, the targeted URLs were along the lines of http://localhost:8000/.

6
Hossam Hossny

Actually all you need is to browse to www.site.com/favicon.ico and you will see the cached old icon, click refresh (ctrl+R) or (ctrl+F5) and you will see the new one. Go back to www.site.com and enjoy the new favicon.

3
Barbarbar

Looked through suggestions to change “stuck” favicons in my bookmarks bar. I took the easy way out and installed the extension Bookmark Favicon Changer.

It took me 5 minutes to fix the problem that had been bugging me for months – and that’s including deleting the extension after use!

2
user260739

Here's a surefire solution on how to solve the chrome icon problem. However, this procedure will take some time & effort.

  1. Clear all browsing history incl. cache with chrome's History cleaner

  2. Close chrome - Re-open

  3. Click on each URL (revisit each webpage) in the Bookmark Manager followed by a page refresh (reload):

    a) Bookmarks bar

    b) Other Bookmarks

    c) Imported Bookmarks (non IE bookmarks)

  4. Under Bookmark Manager->Organize Export Bookmarks to HTML file into the folder of a newly created directory of your choice. Name the file folder therein 'Chrome bookmarks'

  5. Do not close chrome before doing the next step!

  6. Go to "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default"

  7. Copy the two files 'Favicons' and 'Favicons-journal' into the newly created file folder 'Chrome bookmarks'

  8. For the time being make a note of the size of the 'Favicons' file you just saved

  9. For testing purposes: before closing the chrome browser run chrome's History-> 'Clear browsing data'

  10. Close browser - Reopen

Testresults: In all likelihood the 'Favicons' file located in "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default" will show a file size much lower (~20-30k) than the one you saved into the exported file folder.

To resolve the missing icon problem: copy/paste the two saved 'Favicons' files from the new folder (see 4. above) to "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default". Restart chrome. Your icons should be in place now nice and neatly. Just remember to check the file size of the default 'Favicons' file every once in awhile, especially after adding new bookmarked webpages. Then just copy the larger size default file to your 'Chrome bookmarks folder'. Voilà! This should work for most users.

For ease of recovering future lost icons add these two file locations to the Windows explorer's Favorites bar:

a) 'Chrome bookmarks'

b) "C:\Users(User name)\AppData\Local\Google\Chrome\User Data\Default"

PS in future use a browser history cleaner utility i.e. ccleaner. Avoid using chrome's History cleaning feature

1
raul

I solved this on my machine going into chrome config data and deleting a file called "Local State". Did this on a Linux box and it solved my problem. On Linux this file lives at: /home/(User name)/.config/google-chrome/ I think on windows this is C:\Users(User name)\AppData\Local\Google\Chrome\User Data\ (at least on my Windows 7 box it is).

0
Scott

Please try this before doing all that. Close Chrome. Open Task Manager. "End Task" on all remaining instances of Chrome. Restart Chrome.

Works for me.

-1
Jozef

I know this thread is old, but this is a common problem so I will help out any lurkers:

I was looking for the same thing and found there was no easy way, so I made my own tool.

  1. Delete your C:\Users\(Username)\AppData\Local\Google\Chrome\User Data\Default\Favicons file.
  2. Import your "Bookmarks" file (which is in the same folder) into the tool I made.
  3. Press "Load Pages".

The tool will literally open all your bookmarked pages at once, which is quite a heavy load, but after that, you'll have all your icons refreshed :).

The tool also only works if your default browser is set to Chrome.

Link to tool: http://www.fast-files.com/getfile.aspx?file=79770
Feel free to scan for viruses or whatever.

You're welcome.

Не удалось получить доступ через ссылку с поддержкой рекламы (возможно, из-за установки AdBlock) Elder Geek 7 лет назад 0