Skip to content

ghtx280/faviconGrabber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

A simple library for getting favicons from any site. Uses the Allorigins API to retrieve the site's HTML.

How to use

  • Connect grabIcons.js to your project You can download it or use cdn
<script src="https://cdn.jsdelivr.net/gh/ghtx280/faviconGrabber@main/grabIcons.js"></script>
  • Add the code below
grabIcons("https://example.com")
.then(icons => {
  console.log(icons) // [icon1, icon2, icon3, ...]
}) 

If you have any problems or suggestions, write to me in telegram

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published