favicon temporary support! horray! ))
yoyurec —Tue, 07/23/2013 - 10:54
Hi all!
I was very unhappy to get new versions of FastDial with limited functional, so my pages looks ugly....
So i created nice and fast solution for removed favicons (without using Mozilla developers new API functions)!
You just need to replace few strings on file \Data\profile\extensions\fastdial@telega.phpnet.us\chrome\content\thumbnail\thumbnail.js:
this.getFavicon = function() { ... ... };
to those one:
this.getFavicon = function() { var url = this.getURL(); if (this.properties.isFolder) { src = "chrome://fastdial/skin/icons/folder.png" } else { src = "http://www.google.com/s2/favicons?domain=" + url; } return src;
And of course in \Data\profile\extensions\fastdial@telega.phpnet.us\chrome\content\template\fastdial.tpl insert somewhere image tag:
<img src="<%= thumbnail.getFavicon() %>">
Good luck!
I hope it can be done in new version....
Re: favicon temporary support! horray! ))
Submitted by Efreak15 on Tue, 07/23/2013 - 11:09Well, actually with version 4.7, our developer did add back favicons with the new api: http://www.userlogos.org/files/fastdial-4.7-fx.xpi We just haven't added version 4.7 to AMO yet. Thank you for the code though.
Re: favicon temporary support! horray! ))
Submitted by yoyurec on Tue, 07/23/2013 - 11:09PS: on latest versions of FastDial folder image is removed (chrome://fastdial/skin/icons/folder.png)
Re: favicon temporary support! horray! ))
Submitted by yoyurec on Tue, 07/23/2013 - 11:12Oh! Great news!
Will test soon...
Tnx!!!
Re: favicon temporary support! horray! ))
Submitted by yoyurec on Wed, 07/24/2013 - 03:30strange, but not all all icons in my bookmarks shows (((
with my solution all works better... but without caching
Re: favicon temporary support! horray! ))
Submitted by telega on Wed, 07/24/2013 - 11:10strange, but not all all icons in my bookmarks shows (((
Try refreshing a thumbnail, this will also retrieve an icon.