- スキャンID:
- 43f16ed8-c61b-4f7f-b4a8-45420aec46e8終了
- 送信済みURL:
- https://link-lib.netlify.app/
- レポート終了日:
リンク · 0件検出
ページから特定された発信リンク
JavaScript変数 · 5件検出
ページのウィンドウオブジェクトにロードされたグローバルのJavaScript変数は関数以外の場所で宣言された変数で、現在のスコープ内であればコードのどこからでもアクセス可能です
名前 | 規模 |
---|---|
onbeforetoggle | object |
documentPictureInPicture | object |
onscrollend | object |
adBlockCheck | function |
closeModal | function |
コンソールログメッセージ · 0件検出
Webコンソールにログ記録されたメッセージ
HTML
未加工のHTMLページ本文
<!DOCTYPE html><html lang="en"><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ad Blocker Detection</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link rel="icon" href="logo.png" type="image/png">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
color: #333;
text-align: center;
}
h1 {
margin-top: 50px;
}
.ad-blocker-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 1000;
justify-content: center;
align-items: center;
}
.modal-content {
background: white;
padding: 20px;
border-radius: 8px;
max-width: 400px;
width: 90%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.modal-header {
font-size: 1.5rem;
margin-bottom: 10px;
}
.modal-body {
margin-bottom: 20px;
}
.close-button, .disable-button {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.close-button {
background: red;
color: white;
}
.disable-button {
background: green;
color: white;
}
#main-content {
display: none;
margin-top: 50px;
}
.show {
display: block;
}
</style>
</head>
<body>
<div id="main-content">
<h1>Welcome to Our Website</h1>
<p>Enjoy your stay! Please consider disabling your ad blocker to support us.</p>
<button id="learn-more" class="disable-button" onclick="window.location.href='lib'">Go</button>
</div>
<div id="ad-blocker-modal" class="ad-blocker-modal">
<div class="modal-content">
<div class="modal-header">Ad Blocker Detected</div>
<div class="modal-body">
<p>It seems you are using an ad blocker. Please consider disabling it to support our content.</p>
</div>
<button class="close-button" onclick="closeModal()">Close</button>
</div>
</div>
<script>
function adBlockCheck() {
setTimeout(function() {
document.body.innerHTML += `<div class="adsbygoogle" id="test-ad"></div>`;
const testAd = document.getElementById('test-ad');
const testAdStyle = getComputedStyle(testAd);
if (testAdStyle.display === 'none') {
document.getElementById('ad-blocker-modal').style.display = 'flex';
document.getElementById('main-content').style.display = 'none';
} else {
document.getElementById('main-content').style.display = 'block';
}
}, 1000);
}
function closeModal() {
document.getElementById('ad-blocker-modal').style.display = 'none';
document.getElementById('main-content').style.display = 'block';
}
adBlockCheck();
</script>
</body></html>