- ID scansione:
- e793616c-577e-471d-893b-76bf9d23c559Fatto
- URL inviato:
- https://url9.xyz/wyYZSxReindirizzato
- Report terminato:
Link · 0 trovati
I link in uscita identificati dalla pagina
Variabili JavaScript · 4 trovate
Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente
Nome | Tipo |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
getOperatingSystem | function |
Messaggi di log della console · 0 trovati
Messaggi registrati nella console Web
HTML
Il corpo HTML non elaborato della pagina
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
* {
margin: 0;
padding: 0;
}
div {
box-sizing: border-box;
}
body {
height: 100vh;
background: #ECEDEE;
display: flex;
justify-content: center;
align-items: center;
}
.main {
padding: 40px 70px;
width: 644px;
height: 500px;
background: #FFFFFF;
display: flex;
flex-direction: column;
}
.title {
font-size: 15px;
color: #21262C;
margin-bottom: 10px;
}
.content {
font-weight: 400;
font-size: 14px;
color: #616873;
margin-bottom: 28px;
}
.footer {
font-size: 14px;
color: #21262C;
text-align: right;
}
.img img {
width: 138px;
height: 24px;
margin-bottom: 50px;
}
.en_tips,
.cn_tips {
display: flex;
flex-direction: column;
margin-bottom: 60px;
}
.os_tips {
font-weight: 400;
font-size: 14px;
color: #2AA846;
}
</style>
</head>
<body>
<div class="main">
<div class="img">
<img src="./[email protected]" alt="">
</div>
<div class="en_tips">
<span class="title">Dear users:</span>
<span class="content">This link is now restricted to <span id="en_name">Windows</span>
devices,Thank you for your
understanding!</span>
<span class="footer">ChatKnow SCRM</span>
</div>
<div class="cn_tips">
<span class="title">尊敬的用户:</span>
<span class="content">本链接现已限制<span id="cn_name">Windows</span>设备访问,感谢您的理解!</span>
<span class="footer">ChatKnow SCRM</span>
</div>
<div class="os">
<span class="os_tips">您的访问设备:<span id="os">Windows</span></span>
</div>
</div>
<script>
const osDom = document.getElementById('os');
const en_nameDom = document.getElementById('en_name');
const cn_nameDom = document.getElementById('cn_name');
const operatingSystem = getOperatingSystem()
osDom.innerHTML = operatingSystem
en_nameDom.innerHTML = operatingSystem
cn_nameDom.innerHTML = operatingSystem
function getOperatingSystem() {
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (/windows phone/i.test(userAgent)) {
return 'Windows Phone';
} else if (/android/i.test(userAgent)) {
return 'Android';
} else if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
return 'iOS';
} else if (/Macintosh/i.test(userAgent)) {
return 'Mac';
} else if (/Linux/i.test(userAgent)) {
return 'Linux';
} else if (/Windows/i.test(userAgent)) {
return 'Windows';
} else {
return 'Unknown';
}
}
</script>
</body></html>