~franz/f-a.nz

ref: e52c0c035c5cd51a128c386bbceae82c1d1a3cd6 f-a.nz/_dev/2015/2015-03-18-retrieve-domain-favicon-with-google-s2.markdown -rw-r--r-- 659 bytes
e52c0c03 — Franz Geffke Commit local copy 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: post
title:  "Retrieve a domain's favicon with Google S2"
date:   2015-03-18 08:00:00
excerpt: "It's easy and free to retrieve a favicon with Google S2"
categories: HTTP, HTML
version: 2.9.1
packages: HTTP, HTML
source:
sourcetitle:
---

Here's what you need to do:

```http://www.google.com/s2/favicons?domain=yourdomain.com
https://www.google.com/s2/favicons?domain=yourdomain.com
#replace yourdomain.com
```

This is how you use it:

```<img src="https://www.google.com/s2/favicons?domain=dkkma.com" alt="DKKMA Agency">
```

Finally, this is how it looks like: <img src="https://www.google.com/s2/favicons?domain=dkkma.com" alt="DKKMA Agency">