Skip to content

oxmc/favicon.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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://oxmc.is-a.dev/favicon.js/favicon.min.js"></script>
</head>

Then run the function favicon:

favicon('https://github.com/favicon.ico');

That's it!

heres an example: https://oxmc.is-a.dev/favicon.js/example.html

About

A simple javascript library to change the page favicon.

Topics

Resources

License

Stars

Watchers

Forks