~franz/f-a.nz

ref: 286b755957d4bd136442f27a4c88b73c06f70ecf f-a.nz/_dev/2015/2015-03-18-retrieve-domain-favicon-with-google-s2.markdown -rw-r--r-- 712 bytes
286b7559Franz Geffke added new git link 3 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
26
27
28
29
30
---
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
category:
  - dev
  - frontend
tags:
  - development
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">