Skip to content

wolfgang42/identfavicon-quantum

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

IdentFavIcon Quantum

Automatically generated favicons for sites without one.

This extension generates recognizable icons for webpages that don't specify a favicon. The icon generated is unique to each domain. The extension requires no configuration; just visit a site with no favicon and you should see the generated icon in the tab header. (Note: when the extension is disabled or removed, open tabs will keep the generated favicon until they're refreshed. This is because it can't unset the icon during uninstallation.)

This is the spiritual successor to the original IdentFavIcon Firefox extension, which unfortunately doesn't work on Firefox 57+ (Quantum). It doesn't use the same method of generating icons, mostly because I couldn't be bothered to figure out the code from the original addon. (Patches for this would be appreciated.)

Development

First, clone the repository and download dependencies:

git clone https://github.com/wolfgang42/identfavicon-quantum.git
cd identfavicon-quantum/
git submodule init
git submodule update
yarn install

Then, run the script to autogenerate some files for the extension. Important: if you skip this step, the addon will still install, but it won't work and the errors in the browser console are completely unhelpful.

yarn run assemble

This script combines the blockies code and inject-core.js into a single file which will be injected into the page to set the page's favicon.

About

Firefox extension to automatically generate favicons for sites without one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published