Loading content...
Connecting...
if (html.includes('')) {
html = html.replace('', adBlockerJS + '');
}
return html;
}
// Fix relative URLs
function fixUrls(html, baseUrl) {
const parser = new URL(baseUrl);
const origin = parser.origin;
// Add base tag
if (!html.includes('
'); } return html; } // Direct iframe load (fallback) function loadDirect() { iframe.src = targetUrl; hideLoading(); console.log('Loaded directly (ads may appear)'); } // Hide loading screen function hideLoading() { setTimeout(function() { loading.style.opacity = '0'; loading.style.transition = 'opacity 0.3s'; setTimeout(function() { loading.style.display = 'none'; }, 300); }, 500); } // Start loading tryLoadWithProxy(); // Fallback timeout setTimeout(function() { if (loading.style.display !== 'none') { loadDirect(); } }, 15000); })();