- Scan ID:
- 3a38f6c2-78e2-4a6d-8245-8a44aa05a159Finished
- Submitted URL:
- https://9467.spshop8686.com/index/usuarios/register/invite_code/WLUY7Q.htmlRedirected
- Report Finished:
Links · 0 found
The outgoing links identified from the page
JavaScript Variables · 6 found
Global JavaScript variables loaded on the window object of a page, are variables declared outside of functions and accessible from anywhere in the code within the current scope
Name | Type |
---|---|
0 | object |
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
loadIframe | function |
tiao | function |
Console log messages · 8 found
Messages logged to the web console
Type | Category | Log |
---|---|---|
log | other |
|
log | other |
|
error | security |
|
error | security |
|
error | security |
|
error | security |
|
verbose | dom |
|
verbose | dom |
|
HTML
The raw HTML body of the page
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<style>
body, html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
iframe {
border: none;
width: 100%;
height: 100%;
}
</style>
<script>
function loadIframe() {
// 获取当前域名
let domain = window.location.href; // 例如 "abc.web.abcd.com"
// 使用正则表达式去掉 "web"
let modifiedDomain = domain.replace('.web', '');
// 输出去掉 "web" 的域名
console.log(modifiedDomain);
const savedPath = localStorage.getItem('savedPath');
document.getElementById('myIframe').src = modifiedDomain + savedPath;
localStorage.removeItem('savedPath');
}
function tiao() {
// 获取当前 URL 的路径部分
const currentUrl = window.location.href;
const url = new URL(currentUrl);
const path = url.pathname + url.search + url.hash;
// console.log(path,'kkkkkkk')
// 存储路径到本地缓存
localStorage.setItem('savedPath', path);
// 重定向到不带路径的域名
const baseDomain = url.origin;
window.location.href = baseDomain;
}
window.onload = function() {
const savedPath = localStorage.getItem('savedPath');
if (savedPath) {
console.log('Retrieved path:', savedPath);
setTimeout(loadIframe, 500);
// 这里可以根据需求处理路径,比如使用它进行页面导航或其他操作
}else{
// console.log('ssss88888')
tiao();
}
};
</script>
</head>
<body>
<iframe id="myIframe" src="https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html"></iframe>
</body></html>