Change The Favicon On Your Site – favicon.js

Category: Javascript | December 31, 2021
Author:oxmc
Views Total:50 views
Official Page:Go to website
Last Update:December 31, 2021
License:MIT

Preview:

Change The Favicon On Your Site – favicon.js

Description:

favicon.js is an ultra-light JavaScript library that allows you to dynamically change the Favicon of the current page displayed in the browser tab and bookmark.

How to use it:

1. Download and insert the favicon.js library.

<script src="./favicon.min.js"></script>

2. Call the favicon function and specify the path to the new Favicon as follows:

favicon('/path/to/favicon.png');

You Might Be Interested In:


Leave a Reply