favicon.js
A simple javascript library to change the page favicon.
How to use
To use favicon.js, include it in your head element:
<head>
<script src="https://fjs.oxmc.xyz/favicon.min.js"></script>
</head>
Then run the function favicon
:
favicon('https://github.com/favicon.ico');
That's it!
heres an example: https://fjs.oxmc.xyz/example.html
©2021-2022 Domain by Givinghawk made by oxmc