Greasy Fork is available in English.

FaviconBadger

Add a counter badge on the favicon

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/453212/1105873/FaviconBadger.js

Autor
PIZIDAVI
Verzija
1.0
Napravljeno
17/10/2022
Ažurirano
17/10/2022
Licenca
Nije dostupno

FaviconBadger

Add a counter badge on the favicon

Example

const faviconBadger = new FaviconBadger({
  size : 0.6,
  position : 'ne',
  radius : 8,
  backgroundColor : '#f00',
  color : '#fff'
});

faviconBadger.value = 1;
faviconBadger.update();