Published
November 10, 2022
Updated
Look. Realistically, stuff I put here will never be useful in Webflow. You should probably just turn around and walk away.
The are the dusty tomes in the restricted section at Hogwarts, meant for the wizarding geeks. If that's you, have fun, and don't hurt anyone.
Inlining favicons
Just like images, you can actually inline favicon artwork as base64-encoded content, using the data: scheme, like this;
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
The null favicon
For when you really don't want a favicon, but browsers are trying to retrieve it anyway.
<link rel="icon" href="data:,">
Get the favicon from any site, using a Google API
From Lucy Linder;
Google offers a secret URL that can automatically pull the favicon image of any domain.
https://www.google.com/s2/favicons?domain=${domain}&sz=${size}