From 3afac6ccd2b91fea81579546310dc43b6f37a858 Mon Sep 17 00:00:00 2001 From: afred Date: Wed, 11 Dec 2024 13:14:03 +0800 Subject: [PATCH] change owner --- app/components/HotjarLoader.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/components/HotjarLoader.tsx b/app/components/HotjarLoader.tsx index cc78c3a1a..c07c7c663 100644 --- a/app/components/HotjarLoader.tsx +++ b/app/components/HotjarLoader.tsx @@ -11,14 +11,6 @@ export default function HotjarLoader() { (h.hj.q = h.hj.q || []).push(arguments); }; h._hjSettings = { hjid: 3414362, hjsv: 6 }; - - // 获取 元素 - const headElement = o.getElementsByTagName("head")[0]; - if (!headElement) { - console.error("Head element not found in the document."); - return; // 如果没有找到 ,直接退出 - } - // 创建