Skip to content

Commit

Permalink
- Switched to Google’s favicon service, because g.etfv.co was again o…
Browse files Browse the repository at this point in the history
…ver its serving quota.
  • Loading branch information
michaelx committed Dec 16, 2014
1 parent 15e281d commit 209a1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h3>Favorite Sites</h3>
var setOutput;

for (var i in favSites) {
favs += "<a href=\"" +favSites[i]+ "\" title=\"" +favSites[i]+ "\" target=\"_blank\"><img src=\"http://g.etfv.co/" +favSites[i]+ "\" alt=\"" +favSites[i]+ "\" width=\"" +faviconSize+ "\" height=\"" +faviconSize+ "\"></a> ";
favs += "<a href=\"" +favSites[i]+ "\" title=\"" +favSites[i]+ "\" target=\"_blank\"><img src=\"http://www.google.com/s2/favicons?domain=" +favSites[i]+ "\" alt=\"" +favSites[i]+ "\" width=\"" +faviconSize+ "\" height=\"" +faviconSize+ "\"></a> ";
};
document.getElementById("favoriteSites").innerHTML = favs;

Expand All @@ -106,7 +106,7 @@ <h3>Favorite Sites</h3>
setOutput += "\">" +siteSets[i][0]+ "<\/a> <br>";

for (var u = 1; u < siteSets[i].length; u++) {
setOutput += "<a href=\"" +siteSets[i][u]+ "\" title=\"" +siteSets[i][u]+ "\" target=\"_blank\"><img src=\"http://g.etfv.co/" +siteSets[i][u]+ "\" alt=\"" +siteSets[i][u]+ "\" width=\"" +faviconSize+ "\" height=\"" +faviconSize+ "\"></a> ";
setOutput += "<a href=\"" +siteSets[i][u]+ "\" title=\"" +siteSets[i][u]+ "\" target=\"_blank\"><img src=\"http://www.google.com/s2/favicons?domain=" +siteSets[i][u]+ "\" alt=\"" +siteSets[i][u]+ "\" width=\"" +faviconSize+ "\" height=\"" +faviconSize+ "\"></a> ";
};
setOutput += "</li>";

Expand Down

0 comments on commit 209a1b6

Please sign in to comment.