Why CORS on Images with HTML Canvas?

前端 未结 2 766
醉梦人生
醉梦人生 2020-12-18 01:06

Recently, I spent a bit of time researching a solution to a rather common problem in web development- I was dealing with logos middle-aligned on a transparent background, bu

2条回答
  •  不思量自难忘°
    2020-12-18 01:23

    This protects users from having private data exposed by using images to pull information from remote web sites without permission.

    Source: MDN

提交回复
热议问题