From 06ce4eb784b3d2ed37bdfe559ee029f26413ae76 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad <emberal+github@pm.me> Date: Wed, 19 Jun 2024 13:28:33 +0200 Subject: [PATCH] SimpleAnalytics --- .idea/jsLibraryMappings.xml | 2 +- .idea/martials.no.iml | 1 + index.html | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml index d23208f..c9a4313 100644 --- a/.idea/jsLibraryMappings.xml +++ b/.idea/jsLibraryMappings.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="JavaScriptLibraryMappings"> - <includedPredefinedLibrary name="Node.js Core" /> + <file url="PROJECT" libraries="{latest}" /> </component> </project> \ No newline at end of file diff --git a/.idea/martials.no.iml b/.idea/martials.no.iml index 0c8867d..c00673b 100644 --- a/.idea/martials.no.iml +++ b/.idea/martials.no.iml @@ -8,5 +8,6 @@ </content> <orderEntry type="inheritedJdk" /> <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="latest" level="application" /> </component> </module> \ No newline at end of file diff --git a/index.html b/index.html index 044f603..404c8ba 100644 --- a/index.html +++ b/index.html @@ -7,9 +7,14 @@ <title>Hjem | Martials.no</title> <meta name="description" content="Hjemmeside for API og diverse" /> <link rel="icon" type="image/x-icon" href="resources/code.svg" /> + <!-- 100% privacy-first analytics --> + <script data-collect-dnt="true" async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script> </head> <body> - <noscript>You need to enable JavaScript to run this app.</noscript> + <noscript> + You need to enable JavaScript to run this app. + <img src="https://queue.simpleanalyticscdn.com/noscript.gif?collect-dnt=true" alt="" referrerpolicy="no-referrer-when-downgrade" /> + </noscript> <div id="root"></div> <script src="/src/app.tsx" type="module"></script>