- 掃描 ID:
- 578ae904-baa5-4fe9-a19e-ffd05af539ca已完成
- 已提交的 URL:
- https://on02.4gozineh.com/
- 報告完成時間:
連結 · 找到 0 個
從頁面中識別的傳出連結
JavaScript 變數 · 找到 3 個
在頁面的視窗物件上載入的全域 JavaScript 變數是在函數外部宣告的變數,可從目前範圍內程式碼中的任何位置存取
名稱 | 類型 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
主控台記錄訊息 · 找到 0 條
記錄到 Web 主控台的訊息
HTML
頁面的原始 HTML 主體
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>4Gozineh</title>
<style>
.error-div {
background-color: #f2dede;
padding: 15px;
border-radius: 10px;
border-color: #ebccd1;
}
.error-div-title {
font-size: 25px;
}
.error-message {
color: #a94442;
font-size: 15px;
margin-top: 2px 0 0 0;
}
</style>
</head>
<body style="margin:0">
<div style="display: flex; height: 100vh; margin: 0; flex-direction: column; align-items: center; justify-content: center;">
<h1 id="welcome-message">Welcome to 4Gozineh!</h1>
</div>
<script>
const ERRORS_QUERY_LABLE = "errors"
const queryString = decodeURI(window.location.search).slice(1);
const positionError = queryString.indexOf(ERRORS_QUERY_LABLE);
let jsonString;
if (positionError !== -1) {
jsonString = JSON.parse(queryString.slice(positionError + ERRORS_QUERY_LABLE.length + 1));
const welcomeMessage = document.querySelector('#welcome-message');
const errorContainer = document.createElement('div');
errorContainer.classList.add("error-div");
welcomeMessage.before(errorContainer);
for (let i in jsonString) {
const newError = document.createElement('p')
newError.classList.add("error-message");
newError.innerText = "Error: " + jsonString[i].message;
errorContainer.appendChild(newError);
}
welcomeMessage.remove();
const bigBlueButton = document.createElement('h1');
bigBlueButton.innerHTML = "BigBlueButton";
errorContainer.before(bigBlueButton);
}
</script>
</body></html>