From 12abacea78d90e545d42a39c85a07ef5e1f2b823 Mon Sep 17 00:00:00 2001 From: kochetkov Date: Wed, 15 Jan 2025 14:54:21 +0300 Subject: [PATCH] csp fixes --- html/browser_check.js | 3 +++ html/index.html | 11 ++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 html/browser_check.js diff --git a/html/browser_check.js b/html/browser_check.js new file mode 100644 index 0000000..7c4532b --- /dev/null +++ b/html/browser_check.js @@ -0,0 +1,3 @@ +document.addEventListener("DOMContentLoaded", function(event) { + document.getElementById("browser-check-info").hidden = navigator.userAgent.indexOf("Chromium GOST") > -1 || navigator.userAgent.indexOf("YaBrowser") > -1; +}); diff --git a/html/index.html b/html/index.html index 9b929c0..c6078a0 100644 --- a/html/index.html +++ b/html/index.html @@ -4,6 +4,10 @@ + + + @@ -20,9 +24,6 @@ -
@@ -30,7 +31,7 @@
Для граждан
Проверить повестки на Ваше имя и получить выписку из Реестра можно в ">Личном кабинете
" class="btn">Подробнее -
+
Для организаций
@@ -42,4 +43,4 @@
- \ No newline at end of file +