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

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

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/"
    };

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742251739a4409281.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信