How to use Google Chrome Thumbnails preview service?

后端 未结 2 1882
春和景丽
春和景丽 2021-01-24 20:10

anyone know how to use google chrome service to generate web site thumbnails? (Most viewed site on new tab).
Any idea to do a similar thing?

These:<

2条回答
  •  滥情空心
    2021-01-24 20:22

    Technically, you could use html2canvas http://html2canvas.hertzen.com/documentation.html. It's a little buggy, and usually requires a proxy for cross-domain stuff, but if you are implementing it in a Chrome extension, you have more levity when it comes to cross-site XHR.

提交回复
热议问题