Skip to content

HamishFleming/Second-Favourite-Icon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Second-Favourite-Icon

A cheeky attention grabber for your site, by leveraging js event listeners

In Action

gospace.gif

So How Does It Work?

All the script does is wait for the blur event to be triggered Read about it here and switches out the favicon after 2 seconds of the window being out of focus. Have two copies of the same icon and draw a red dot on the second. simple as.

But, why?

Thrown together to improve engagement for lead generation pages, after being thouroughly Pavloved by little red dots even I have fallen for it.

About

A cheeky attention grabber for your site

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages