<script src="https://unpkg.com/mermaid@8.13.3/dist/mermaid.min.js"></script>
<div>
  <h3>CORS</h3>
  <div class="mermaid">
sequenceDiagram
    autonumber
    Browser->>+ID.ext-twitch.tv: GET
    ID.ext-twitch.tv-->>-Browser: HTML
    Note left of Browser: Button click event
    Browser-->Browser: fetch(EBS)
    Browser->>+EBS: preflight
    EBS-->>-Browser: Allow-Origin: ID.ext-twitch.tv
    Browser->>+EBS: GET

  </div>
</div>
body {
  font-family: system-ui;
  background: #F06D06;
  color: white;
  text-align: center;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.