mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2025-06-14 08:50:26 +03:00
ua
This commit is contained in:
4
static/js/agent.js
Normal file
4
static/js/agent.js
Normal file
@ -0,0 +1,4 @@
|
||||
const userAgent = window.navigator.userAgent;
|
||||
const platform = window.navigator.platform;
|
||||
document.getElementById("wb").textContent = "Браузер: " + userAgent;
|
||||
document.getElementById("os").textContent = "ОС: " + platform;
|
Reference in New Issue
Block a user