crossorigin
attribute
#144
LeaVerou
started this conversation in
State of HTML Features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Defines how the element handles cross-origin requests
Code sample
MDN URL:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
Specification URL:
https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes
Any other links?
<img crossorigin>
<video crossorigin>
<link crossorigin>
<script crossorigin>
<image crossorigin>
(SVG)How stable is this feature?
Stable (Widely supported for several years)
Type of feature
HTML attribute
What focus area does this feature fall into?
Security & Privacy
Details
Note that support is much worse for SVG
<image>
.Beta Was this translation helpful? Give feedback.
All reactions