From 6e9a9e91a9f6cdd4e41e3f239a76fe725b8a9d34 Mon Sep 17 00:00:00 2001 From: fruworg Date: Mon, 31 Jul 2023 23:51:25 +0600 Subject: [PATCH] ua --- static/js/agent.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 static/js/agent.js diff --git a/static/js/agent.js b/static/js/agent.js new file mode 100644 index 0000000..a5779f6 --- /dev/null +++ b/static/js/agent.js @@ -0,0 +1,4 @@ +const userAgent = window.navigator.userAgent; +const platform = window.navigator.platform; +document.getElementById("wb").textContent = "Браузер: " + userAgent; +document.getElementById("os").textContent = "ОС: " + platform; \ No newline at end of file