Attributes
- crossorigin attributes
<script src="https://xxx.js" crossorigin="anonymous"></script>
- in html5, some html element(<\img> <\script>) support CORS
- lets you configure the CORS requests for the element’s fetched data
- anonymous – credentials flag set to ‘same-origin’
- use-credentials – credentials flag set to ‘include’