https://ns2zoa77.web.spshopijgg3.top/

提交的 URL:
https://9467.spshop8686.com/index/usuarios/register/invite_code/WLUY7Q.html已重定向
报告完成时间:

链接 · 找到 0 个

JavaScript 变量 · 找到 6 个

名称类型
0object
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
loadIframefunction
tiaofunction

控制台日志消息 · 找到 8 条

类型类别记录
logother
URL
https://ns2zoa77.web.spshopijgg3.top/
文本
Retrieved path: /index/usuarios/register/invite_code/WLUY7Q.html
logother
URL
https://ns2zoa77.web.spshopijgg3.top/
文本
https://ns2zoa77.spshopijgg3.top/
errorsecurity
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
Blocked autofocusing on a <input> element in a cross-origin subframe.
errorsecurity
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
Blocked autofocusing on a <input> element in a cross-origin subframe.
errorsecurity
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
Blocked autofocusing on a <input> element in a cross-origin subframe.
errorsecurity
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
Blocked autofocusing on a <input> element in a cross-origin subframe.
verbosedom
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
[DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) %o
verbosedom
URL
https://ns2zoa77.spshopijgg3.top//index/usuarios/register/invite_code/WLUY7Q.html
文本
[DOM] Input elements should have autocomplete attributes (suggested: "new-password"): (More info: https://goo.gl/9p2vKq) %o

HTML

<!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>