dimanche 30 juin 2019

How to randomly assign a web page icon?

In HTML you might do something like link rel="icon" type="image/x-icon" href="IMG/favicon.ico" and your web page would have an icon. I want to know if I had multiple icons (favicon2.ico, favicon3.ico, etc.) is there a way to get the browser to randomly assign an icon from the icon files in a folder?

So one user might load the page and get favicon2 as the pages icon while another user might get favicon3, is this possible?




Aucun commentaire:

Enregistrer un commentaire