The crossorigin attribute defines how the browser should behave in cross origin request when fetching resources referenced by the tag. Setting this to "anonymous" prevents the browser from sending cookies or other credentials with the request and thus stops tracking.
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
I thought it would be nice to have this.
We sadly cannot have integrity checks as those would require pinning a certain mermaid.js version, which seems impracticable.
The crossorigin attribute defines how the browser should behave in cross origin request when fetching resources referenced by the tag. Setting this to "anonymous" prevents the browser from sending cookies or other credentials with the request and thus stops tracking. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin
I thought it would be nice to have this. We sadly cannot have integrity checks as those would require pinning a certain mermaid.js version, which seems impracticable.