Change The Favicon On Your Site – favicon.js

Category: Javascript | June 7, 2023
Author:oxmc
Views Total:31 views
Official Page:Go to website
Last Update:June 7, 2023
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');

Changelog:

06/07/2023

  • move helper functions/vars to the main function

You Might Be Interested In:


Leave a Reply