- 掃描 ID:
- c49637b4-0088-43c4-bdaf-cd13dd1b6ad7已完成
- 已提交的 URL:
- https://hk778.cc/
- 報告完成時間:
連結 · 找到 0 個
從頁面中識別的傳出連結
JavaScript 變數 · 找到 15 個
在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取
名稱 | 類型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
$ | function |
jQuery | function |
gtag | function |
dataLayer | object |
randomString | function |
getData | function |
setItemWithExpiration | function |
主控台記錄訊息 · 找到 0 條
記錄到 Web 主控台的訊息
HTML
頁面的原始 HTML 主體
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Yahoo</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin=""><link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet"><link data-n-head="ssr" rel="icon" type="image/x-icon" href="e42b4ce142234ab0b730.ico"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css"><script src="d11c21bfd2aee7c33576.js"></script><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-D1S978EC6F"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-D1S978EC6F")</script><style>body{font-family:Roboto,sans-serif}.wrapper-container{width:100%;height:100vh;overflow-y:auto}.search-container{width:480px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.ic-logo{height:100px}.box-search{width:calc(100% - 34px);position:relative}.input-search{width:100%;height:46px;border-radius:50px;border:1px solid #ddd;position:relative;padding-left:16px;font-size:20px}.ic-search{width:24px;height:24px;padding:2px;float:left;cursor:pointer}.btn-container{height:100%;position:absolute;top:6px;right:-28px}.btn-search{background:#fff;color:#fff;padding:11px 16px;border-radius:50px;cursor:pointer;border:none}.btn-search:hover{background:#fff}@media screen and (max-width:560px){.search-container{width:100%;padding:0 16px}.ic-logo{height:80px}}.masked-input{-webkit-text-security:disc;text-security:disc}body{background-image:url("./assets/images/background.jpg");font-size:20px;font-weight:500;background-size:cover;background-position:center;margin:0}.wrapper-container{max-width:1200px;margin:0 auto}*{box-sizing:border-box}.search-container{top:45%;padding-left:126px}.box-search{width:100%;max-height:61px;padding:8px 64px 8px 8px;background:#fff;border-radius:32px;border:1px solid #ddd;display:grid;margin-right:0;-webkit-border-radius:32px;-moz-border-radius:32px;-ms-border-radius:32px}.box-search .input-search{height:43px;border:none;outline:0;padding-right:62px;font-size:20px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;background:0 0}.btn-container{right:8px}.box-search-i{padding:8px 72px 8px 20px;position:relative}.line-overlay-top{width:auto;height:12px;position:absolute;top:0;left:30px;right:30px;background:#fff;z-index:1}.line-overlay-bottom{width:auto;height:12px;position:absolute;bottom:0;left:30px;right:30px;background:#fff;z-index:1}@media screen{@supports (-webkit-appearance:none){.box-search .input-search{height:42px;font-size:20px;-webkit-height:46px}}}@media screen and (max-width:820px){.box-search .input-search{height:42px}}</style></head><body><div class="wrapper-container"><div class="search-container"><span style="font-family:Poppins,sans-serif;font-size:36px;color:#5f01d2;position:absolute;top:50%;left:0;transform:translateY(-50%)">Yahoo</span><div class="box-search"><input class="input-search" id="inputSearch" title="search" autocomplete="off"><div class="btn-container"><button id="buttonSearch" class="btn-search"><img src="76eb8423d1200407e3b5.svg" alt="" class="ic-search"></button></div></div></div></div><script>$(document).ready((function(){window.localStorage;var t="";$(window).on("load",(function(){$("#inputSearch").val("")})),$(window).on("unload",(function(){$("#inputSearch").val("")})),$("#inputSearch").on("input",(function(){t=$(this).val()})),$("#inputSearch").keypress((function(n){if(13===n.which){if(!t)return alert("请输入搜索内容");getData(t)}})),$("#buttonSearch").click((function(){if(!t)return alert("请输入搜索内容");getData(t)}))})),randomString=function(t){for(var n="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=0;o<t;o++)n+=a.charAt(Math.floor(62*Math.random()));return n},getData=function(t){$.ajax({url:"/api/codes?q="+t+"&s="+randomString(8),type:"POST",dataType:"json",data:void 0,timeout:5e3,success:function(n){var a=randomString(8);setItemWithExpiration("searchValue",t,10),window.location.href="./NavigationList.html?s="+a},error:function(n){console.log("err ",n),gotoSearchPage(t)}})},setItemWithExpiration=function(t,n,a){var o={value:n,expiration:(new Date).getTime()+60*a*1e3};localStorage.setItem(t,JSON.stringify(o))},gotoSearchPage=function(t){if(null!=t){var n="https://search.yahoo.com/search?p="+t+"&r="+randomString(8);window.location=n}}</script></body></html>