Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setting the thumbnail for safari web previews

When I view iCloud.com in my safari top sites, it always always has the same thumbnail.

enter image description here

I'm wondering how I could programmatically do the same for my website.

like image 789
alexyorke Avatar asked Nov 09 '11 21:11

alexyorke


1 Answers

Looking at the source code, I see this JavaScript:

    if (window.navigator && window.navigator.loadPurpose === "preview") {
        window.location.href = "https://www.icloud.com/topsites_preview/"
    };
like image 50
Michael Stum Avatar answered Oct 11 '22 02:10

Michael Stum