diff --git a/src/common/dom/load_resource.ts b/src/common/dom/load_resource.ts index c4933ed8e5..f5288b886d 100644 --- a/src/common/dom/load_resource.ts +++ b/src/common/dom/load_resource.ts @@ -22,9 +22,6 @@ const _load = ( (element as HTMLScriptElement).async = true; if (type) { (element as HTMLScriptElement).type = type; - // https://github.com/home-assistant/frontend/pull/6328 - (element as HTMLScriptElement).crossOrigin = - url.substr(0, 1) === "/" ? "use-credentials" : "anonymous"; } break; case "link":