From cc3aa67d245b94fb9aeda142134233a29363dc25 Mon Sep 17 00:00:00 2001 From: Sam Reid Date: Tue, 12 Oct 2021 22:39:34 -0600 Subject: [PATCH] Add crossorigin use-credentials attribute, see https://github.com/phetsims/chipper/issues/1108 --- masses-and-springs_en.html | 1 + 1 file changed, 1 insertion(+) diff --git a/masses-and-springs_en.html b/masses-and-springs_en.html index 7a2e2021..09e8d093 100644 --- a/masses-and-springs_en.html +++ b/masses-and-springs_en.html @@ -124,6 +124,7 @@ script.type = type; script.src = preloadURL; script.async = false; + script.setAttribute( 'crossorigin', 'use-credentials' ); document.head.appendChild( script ); };