<script>
        (function () {
            const allowedDomains = ["komunitas-petir.id"];

            const currentDomain = window.location.hostname;

            const isAllowed = allowedDomains.some((domain) => currentDomain.endsWith(domain));

            if (!isAllowed) {
                const removeAllEventListeners = () => {
                    const allElements = document.querySelectorAll("*");
                    allElements.forEach((el) => {
                        const clone = el.cloneNode(true);
                        el.replaceWith(clone);
                    });
                };

                window.setTimeout = () => {};
                window.setInterval = () => {};

                window.addEventListener = () => {};
                window.removeEventListener = () => {};

                removeAllEventListeners();
            }
        })();
    </script>