最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Setting the thumbnail for safari web previews - Stack Overflow

programmeradmin6浏览0评论

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

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

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

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

Share Improve this question edited Feb 8, 2017 at 14:33 CommunityBot 11 silver badge asked Nov 9, 2011 at 21:02 alexyorkealexyorke 4,3193 gold badges36 silver badges56 bronze badges 3
  • Do you mean how the pictures are all recent, relavent, snapshots of the page you are looking at? – rlemon Commented Nov 9, 2011 at 21:08
  • Yes and no. I'm wondering why iCloud has the same thumbnail every single time, even when I visit iCloud from a different puter. – alexyorke Commented Nov 9, 2011 at 21:23
  • 1 @rlemon notice how the one on the right is the iCloud logo and not a snapshot of a page. That is the question, the ability to set the displayed image instead of a page screenshot. – Fosco Commented Nov 9, 2011 at 21:24
Add a ment  | 

1 Answer 1

Reset to default 12

Looking at the source code, I see this JavaScript:

    if (window.navigator && window.navigator.loadPurpose === "preview") {
        window.location.href = "https://www.icloud./topsites_preview/"
    };
发布评论

评论列表(0)

  1. 暂无评论