https://link-lib.netlify.app/adblock

URL inviato:
https://link-lib.netlify.app/
Report terminato:

I link in uscita identificati dalla pagina

Variabili JavaScript · 5 trovate

Le variabili JavaScript globali caricate sull'oggetto finestra di una pagina sono variabili dichiarate all'esterno delle funzioni e accessibili da qualsiasi punto del codice nell'ambito corrente

NomeTipo
onbeforetoggleobject
documentPictureInPictureobject
onscrollendobject
adBlockCheckfunction
closeModalfunction

Messaggi di log della console · 0 trovati

Messaggi registrati nella console Web

HTML

Il corpo HTML non elaborato della pagina

<!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&amp;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>