// ==UserScript==
// @name DramaDay Suite — Shortlink Bypasser, Base64 Decoder & Anti-Ad Shield
// @namespace https://github.com/ArvindSaini978/userscripts/
// @version 1.2.0
// @description Fast automated bypasser for DramaDay, Exe.io, Exey, Cuty.io, Ouo.io, and Riviwi. Skips countdown timers, neutralizes ad popups/clickjacks, solves Turnstile, and decodes Base64 download links instantly.
// @author ArvindSaini978
// @license MIT
// @match *://*.dramaday.me/*
// @match *://dramaday.me/*
// @match *://*.exe.io/*
// @match *://*.exey.io/*
// @match *://*.exeygo.com/*
// @match *://*.cuty.io/*
// @match *://*.cuttty.com/*
// @match *://*.ouo.io/*
// @match *://*.ouo.press/*
// @match *://*.riviwi.com/*
// @match *://riviwi.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
/*
* MIT License
*
* Copyright (c) 2026 Arvind Saini
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
const host = window.location.hostname;
/* =========================================================================
1. DRAMADAY.ME — BASE64 REWRITER
========================================================================= */
if (host.includes('dramaday.me')) {
(function() {
'use strict';
const URL_PATTERN = /^https?:\/\/[^\s/$.?#].[^\s]*$/i;
function tryDecode(encodedStr) {
if (!encodedStr || typeof encodedStr !== 'string') return null;
let str = encodedStr.trim();
for (let i = 0; i < 3; i++) {
try {
let cleaned = decodeURIComponent(str).trim().replace(/-/g, '+').replace(/_/g, '/');
while (cleaned.length % 4 !== 0) cleaned += '=';
const decoded = atob(cleaned);
if (URL_PATTERN.test(decoded)) return decoded;
str = decoded;
} catch (e) {
break;
}
}
return null;
}
function extractCleanUrl(urlStr) {
if (!urlStr) return null;
try {
const parsed = new URL(urlStr, window.location.href);
for (const param of ['url', 'link', 'dest', 'target', 'go', 'dl']) {
const val = parsed.searchParams.get(param);
if (val) {
const decoded = tryDecode(val);
if (decoded) return decoded;
}
}
const candidatePool = `${parsed.search} ${parsed.pathname} ${parsed.hash}`;
const matches = candidatePool.match(/[A-Za-z0-9+/=_-]{16,}/g);
if (matches) {
for (const match of matches) {
const decoded = tryDecode(match);
if (decoded) return decoded;
}
}
} catch (e) {}
return null;
}
function rewriteAnchors() {
const anchors = document.querySelectorAll('a:not([data-b64-decoded])');
anchors.forEach(a => {
const href = a.getAttribute('href');
if (!href) return;
const cleanUrl = extractCleanUrl(href);
if (cleanUrl) {
a.href = cleanUrl;
a.dataset.b64Decoded = "true";
a.title = `Direct Target: ${cleanUrl}`;
const badge = document.createElement('span');
badge.textContent = ' ✓';
badge.style.cssText = 'color:#4ade80;font-weight:bold;font-size:0.85em;margin-left:3px;';
badge.title = 'Decoded direct link';
a.appendChild(badge);
}
});
}
const runRewrite = () => {
rewriteAnchors();
let debounceTimer = null;
const observer = new MutationObserver(() => {
if (debounceTimer) clearTimeout(debounceTimer);
debounceTimer = setTimeout(rewriteAnchors, 200);
});
if (document.body) {
observer.observe(document.body, { childList: true, subtree: true });
}
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', runRewrite);
} else {
runRewrite();
}
window.addEventListener('click', (e) => {
const a = e.target.closest('a');
if (a && a.href && !a.dataset.b64Decoded) {
const cleanUrl = extractCleanUrl(a.href);
if (cleanUrl) {
e.preventDefault();
e.stopImmediatePropagation();
a.href = cleanUrl;
a.dataset.b64Decoded = "true";
window.open(cleanUrl, a.target === '_blank' ? '_blank' : '_self');
}
}
}, true);
})();
}
/* =========================================================================
2. CUTY.IO & CUTTTY.COM — PRODUCTION BLOCK (Host Safe-List & Anti-Ad)
========================================================================= */
if (host.includes('cuty.io') || host.includes('cuttty.com')) {
(() => {
'use strict';
if (window.top !== window.self) return;
// --- 1. SCRIPT KILLER (Neutralizes popunder & tracking ad networks) ---
const AD_DOMAINS = [
'vaudona.com',
'wingsmob.com',
'sads.adsboosters.xyz',
'llvpn.com',
'cleverwebserver.com',
'abscloud.org',
'doubleclick.net'
];
const originalCreateElement = document.createElement;
document.createElement = function(tagName, options) {
const el = originalCreateElement.call(document, tagName, options);
if (tagName && tagName.toLowerCase() === 'script') {
const originalSetAttribute = el.setAttribute;
el.setAttribute = function(name, val) {
if (name === 'src' && AD_DOMAINS.some(d => String(val).includes(d))) return;
return originalSetAttribute.apply(this, arguments);
};
Object.defineProperty(el, 'src', {
set(url) {
if (AD_DOMAINS.some(d => String(url).includes(d))) return;
el.setAttribute('src', url);
},
get() {
return el.getAttribute('src') || '';
},
configurable: true
});
}
return el;
};
// --- 2. SAFE TIMER ACCELERATOR (780ms ticks + server responseStart sync) ---
const originalSetInterval = window.setInterval;
window.setInterval = function(callback, delay, ...args) {
if (delay === 1000 || (delay >= 900 && delay <= 1100)) {
delay = 780;
}
return originalSetInterval(callback, delay, ...args);
};
// --- 3. CLICK-THROUGH SHIELD & INITIAL TIMER CAPTURE ---
let initialTimerSeconds = null;
const clickjackShield = document.createElement('style');
clickjackShield.id = 'anti-clickjack-shield';
clickjackShield.textContent = `
html > div:not(#cuty-bypass-badge),
html > iframe,
div[style*="2147483647"]:not(#cuty-bypass-badge),
.ad-element,
.aspace,
[id^="ad-"],
[class*="ad-container"],
.clever-core-ads-offerwall,
.ads-core-ads-offerwall {
pointer-events: none !important;
opacity: 0 !important;
display: none !important;
}
body,
body *:not(.ad-element):not([class*="ad-container"]):not(.aspace):not(.clever-core-ads-offerwall):not(.ads-core-ads-offerwall) {
pointer-events: auto !important;
}
#cuty-bypass-badge, #cuty-bypass-badge * {
pointer-events: none !important;
}
`;
(document.head || document.documentElement).appendChild(clickjackShield);
const domObserver = new MutationObserver(() => {
if (!document.getElementById('anti-clickjack-shield')) {
(document.head || document.documentElement).appendChild(clickjackShield);
}
// Capture exact starting timer value as soon as HTML parses #timer
if (initialTimerSeconds === null) {
const tEl = document.getElementById('timer');
if (tEl) {
const parsed = parseInt(tEl.textContent.trim(), 10);
if (!Number.isNaN(parsed) && parsed > 0) {
initialTimerSeconds = parsed;
}
}
}
});
domObserver.observe(document.documentElement, { childList: true, subtree: true });
// --- 4. ANTI-SLEEP / BACKGROUND EXECUTION ---
try {
Object.defineProperty(document, 'hidden', { get: () => false, configurable: true });
Object.defineProperty(document, 'visibilityState', { get: () => 'visible', configurable: true });
Object.defineProperty(document, 'webkitVisibilityState', { get: () => 'visible', configurable: true });
window.addEventListener('visibilitychange', e => e.stopImmediatePropagation(), true);
window.addEventListener('webkitvisibilitychange', e => e.stopImmediatePropagation(), true);
window.addEventListener('blur', e => e.stopImmediatePropagation(), true);
} catch (e) {}
// --- 5. ANTI-POPUP DEFUSERS & EMBEDDED URL DECODER ---
window.open = () => null;
window.canRunAds = true;
window.isAdBlockActive = false;
window.adblock = false;
window.adBlockerDetected = false;
const TARGET_PATTERN = /(pixeldrain|filecrypt|dramaday|mega\.nz|drive\.google|mediafire|1fichier|krakenfiles|gofile|qiwi|rapidgator|ddownload|katfile|nitroflare|turbobit)/i;
const AD_PATTERN = /(cuty\.io|cuttty|exe\.io|exey|adsterra|doubleclick|monetag|hilltopads)/i;
try {
const params = new URLSearchParams(window.location.search);
if (params.has('url')) {
let cleaned = decodeURIComponent(params.get('url')).trim().replace(/-/g, '+').replace(/_/g, '/');
while (cleaned.length % 4 !== 0) cleaned += '=';
const decoded = atob(cleaned);
if (TARGET_PATTERN.test(decoded) && !AD_PATTERN.test(decoded)) {
window.location.replace(decoded);
return;
}
}
} catch (e) {}
// --- 6. STATUS HUD & TAB TITLE COMPONENT ---
function setTabTitle(statusBadge) {
document.title = `${statusBadge} • Auto Bypass | Cuty`;
}
function createHUD() {
if (document.getElementById('cuty-bypass-badge')) return;
const targetContainer = document.body || document.documentElement;
if (!targetContainer) return;
const hud = document.createElement('div');
hud.id = 'cuty-bypass-badge';
hud.innerHTML = `
Detecting Step...
`;
hud.style.cssText = `
position: fixed !important;
top: 24px !important;
right: 24px !important;
background: rgba(30, 41, 59, 0.88) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
color: #f1f5f9 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
font-size: 15px !important;
font-weight: 600 !important;
padding: 12px 20px !important;
border-radius: 12px !important;
border: 1px solid rgba(255, 255, 255, 0.16) !important;
box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35), 0 8px 12px -6px rgba(0, 0, 0, 0.2) !important;
z-index: 2147483647 !important;
letter-spacing: 0.35px !important;
pointer-events: none !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
`;
targetContainer.appendChild(hud);
}
function updateHUD(hudMsg, shortTabMsg, color) {
createHUD();
const txt = document.getElementById('cuty-text');
const dot = document.getElementById('cuty-dot');
if (txt) txt.textContent = hudMsg;
if (dot && color) {
dot.style.background = color;
dot.style.boxShadow = `0 0 10px ${color}`;
}
if (shortTabMsg) setTabTitle(shortTabMsg);
}
function getElapsedSinceServerResponse() {
const nav = performance.getEntriesByType && performance.getEntriesByType('navigation')[0];
const responseStart = (nav && nav.responseStart > 0) ? nav.responseStart : 0;
return performance.now() - responseStart;
}
// --- 7. AUTOMATION ENGINE ---
document.addEventListener('DOMContentLoaded', () => {
createHUD();
let lastActionTime = 0;
let turnstileStartTime = null;
let step3ReadyTime = null;
const loop = originalSetInterval(() => {
createHUD();
if (!window.location.hostname.includes('cuty.io') && !window.location.hostname.includes('cuttty.com')) {
clearInterval(loop);
updateHUD("Target Reached!", "✅ Done!", "#22c55e");
return;
}
const now = Date.now();
// STEP 1: Initial "Continue with Ads"
const step1Btn = document.querySelector('form#free-submit-form button[data-ref="first"]');
if (step1Btn && !step1Btn.dataset.triggered) {
step1Btn.dataset.triggered = 'true';
updateHUD("Bypassing Initial Step...", "⚡ Step 1", "#38bdf8");
step1Btn.click();
lastActionTime = now;
return;
}
// STEP 2: Cloudflare Turnstile Verification
const step2Btn = document.querySelector('form#free-submit-form button[data-ref="captcha"]');
const cfTokenInput = document.querySelector('[name="cf-turnstile-response"]');
if (step2Btn) {
if (!turnstileStartTime) turnstileStartTime = now;
const tokenVal = cfTokenInput ? cfTokenInput.value.trim() : '';
if (tokenVal && !step2Btn.dataset.triggered) {
step2Btn.dataset.triggered = 'true';
updateHUD("Turnstile Solved! Proceeding...", "⚡ Verifying", "#22c55e");
step2Btn.click();
lastActionTime = now;
return;
} else if (!tokenVal) {
const elapsed = now - turnstileStartTime;
if (elapsed > 7500) {
updateHUD("Please click the Captcha manually!", "⚠️ Solve Captcha", "#ef4444");
const turnstileBox = document.getElementById('turnstile-container') || document.querySelector('.cf-turnstile');
if (turnstileBox && !turnstileBox.dataset.scrolled) {
turnstileBox.dataset.scrolled = 'true';
turnstileBox.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
} else {
updateHUD("Waiting for Cloudflare Turnstile...", "🛡️ Captcha", "#f59e0b");
}
return;
}
}
if (now - lastActionTime < 500) return;
// STEP 3: Server-Synced Countdown & Final Redirect
const step3Btn = document.querySelector('form#submit-form button[data-ref="show"]');
const timerSpan = document.getElementById('timer');
if (step3Btn) {
const btnText = step3Btn.textContent.trim().toLowerCase();
const isReady = !step3Btn.disabled &&
!step3Btn.hasAttribute('disabled') &&
!btnText.includes('wait') &&
(btnText.includes('go') || btnText.includes('->'));
if (isReady && !step3Btn.dataset.triggered) {
if (!step3ReadyTime) step3ReadyTime = now;
// Ensure server Unix timestamp validation window (N - 1s + 300ms clock skew margin) is met
const elapsedFromServer = getElapsedSinceServerResponse();
const requiredServerMs = initialTimerSeconds
? Math.max((initialTimerSeconds - 1) * 1000 + 300, initialTimerSeconds * 820)
: 0;
const fallbackReadyPassed = initialTimerSeconds ? true : (now - step3ReadyTime >= 350);
if (elapsedFromServer >= requiredServerMs && fallbackReadyPassed) {
step3Btn.dataset.triggered = 'true';
clearInterval(loop);
updateHUD("Clicking 'Go'...", "🚀 Redirecting", "#22c55e");
step3Btn.click();
} else {
updateHUD("Unlocking link...", "⚡ Unlocking", "#38bdf8");
}
return;
}
if (timerSpan) {
const seconds = timerSpan.textContent.trim().replace(/\D+/g, '');
if (seconds && seconds !== '0') {
updateHUD(`Waiting for timer: ${seconds}s`, `⏳ ${seconds}s`, "#f59e0b");
} else if (seconds === '0') {
updateHUD("Unlocking link...", "⚡ Unlocking", "#38bdf8");
}
}
}
}, 150);
});
})();
}
/* =========================================================================
3. EXE.IO, EXEY.IO, EXEYGO.COM — PRODUCTION BLOCK (Host Safe-List & Anti-Ad)
========================================================================= */
if (host.includes('exe.io') || host.includes('exey.io') || host.includes('exeygo.com')) {
(() => {
'use strict';
// Exit immediately if running inside an ad or captcha iframe
if (window.top !== window.self) return;
// Block dynamically injected ad-network scripts from loading
const AD_DOMAINS = ['llvpn.com', 'cleverwebserver.com', 'abscloud.org', 'doubleclick.net'];
const originalCreateElement = document.createElement;
document.createElement = function(tagName, options) {
const el = originalCreateElement.call(document, tagName, options);
if (tagName && tagName.toLowerCase() === 'script') {
const originalSetAttribute = el.setAttribute;
el.setAttribute = function(name, val) {
if (name === 'src' && AD_DOMAINS.some(d => String(val).includes(d))) return;
return originalSetAttribute.apply(this, arguments);
};
Object.defineProperty(el, 'src', {
set(url) {
if (AD_DOMAINS.some(d => String(url).includes(d))) return;
el.setAttribute('src', url);
},
get() { return el.getAttribute('src') || ''; },
configurable: true
});
}
return el;
};
// Accelerate 1-second countdown intervals (1000ms -> 650ms) safely
const originalSetInterval = window.setInterval;
window.setInterval = function(callback, delay, ...args) {
if (delay === 1000 || (delay >= 950 && delay <= 1050)) delay = 650;
return originalSetInterval(callback, delay, ...args);
};
// Inject persistent CSS shield to block invisible full-screen ad overlays
const clickjackShield = document.createElement('style');
clickjackShield.id = 'anti-clickjack-shield';
clickjackShield.textContent = `
html > div:not(#exe-bypass-badge),
html > iframe,
div[style*="2147483647"]:not(#exe-bypass-badge),
.ad-element, [id^="ad-"], [class*="ad-container"], [class*="clever-core"] {
pointer-events: none !important;
opacity: 0 !important;
background: transparent !important;
}
body,
body *:not(.ad-element):not([class*="ad-container"]):not([class*="clever-core"]):not([style*="2147483647"]),
#exe-bypass-badge {
pointer-events: auto !important;
}
`;
(document.head || document.documentElement).appendChild(clickjackShield);
// Re-attach CSS shield if page scripts strip it from the DOM
new MutationObserver(() => {
if (!document.getElementById('anti-clickjack-shield')) {
(document.head || document.documentElement).appendChild(clickjackShield);
}
}).observe(document.documentElement, { childList: true, subtree: true });
// Spoof tab visibility so timers keep running in background tabs
try {
Object.defineProperty(document, 'hidden', { get: () => false, configurable: true });
Object.defineProperty(document, 'visibilityState', { get: () => 'visible', configurable: true });
Object.defineProperty(document, 'webkitVisibilityState', { get: () => 'visible', configurable: true });
window.addEventListener('visibilitychange', e => e.stopImmediatePropagation(), true);
window.addEventListener('webkitvisibilitychange', e => e.stopImmediatePropagation(), true);
window.addEventListener('blur', e => e.stopImmediatePropagation(), true);
} catch (e) {}
// Neutralize popup tabs, adblock flags, and back-button hijacks
window.open = function() { return null; };
window.canRunAds = true;
window.isAdBlockActive = false;
window.adblock = false;
window.adBlockerDetected = false;
window.adsbygoogle = window.adsbygoogle || [];
window.adsbygoogle.loaded = true;
const originalPushState = history.pushState;
history.pushState = function(state, title, url) {
if (url && String(url).includes('justkoalas.com')) return;
return originalPushState.apply(this, arguments);
};
// Fast-redirect when destination link is already Base64-encoded in the URL query
const TARGET_PATTERN = /(pixeldrain|filecrypt|dramaday|mega\.nz|drive\.google|mediafire|1fichier|krakenfiles|gofile|qiwi|rapidgator|ddownload|katfile|nitroflare|turbobit)/i;
const AD_PATTERN = /(exe\.io|exey\.io|exeygo|cuty\.io|cuttty|adsterra|doubleclick|monetag|hilltopads|sowve\.com)/i;
try {
const params = new URLSearchParams(window.location.search);
if (params.has('url')) {
let cleaned = decodeURIComponent(params.get('url')).trim().replace(/-/g, '+').replace(/_/g, '/');
while (cleaned.length % 4 !== 0) cleaned += '=';
const decoded = atob(cleaned);
if (TARGET_PATTERN.test(decoded) && !AD_PATTERN.test(decoded)) {
window.location.replace(decoded);
return;
}
}
} catch (e) {}
// Create and update the floating status HUD and tab title
function createHUD() {
if (document.getElementById('exe-bypass-badge')) return;
const container = document.body || document.documentElement;
if (!container) return;
const hud = document.createElement('div');
hud.id = 'exe-bypass-badge';
hud.innerHTML = `
Detecting Step...
`;
hud.style.cssText = `
position: fixed !important; top: 24px !important; right: 24px !important;
background: rgba(30, 41, 59, 0.88) !important; backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important; color: #f1f5f9 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
font-size: 15px !important; font-weight: 600 !important; padding: 12px 20px !important;
border-radius: 12px !important; border: 1px solid rgba(255, 255, 255, 0.16) !important;
box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35) !important;
z-index: 2147483647 !important; pointer-events: none !important;
`;
container.appendChild(hud);
}
function updateHUD(hudMsg, shortTabMsg, color) {
createHUD();
const txt = document.getElementById('exe-text');
const dot = document.getElementById('exe-dot');
if (txt) txt.textContent = hudMsg;
if (dot && color) {
dot.style.background = color;
dot.style.boxShadow = `0 0 10px ${color}`;
}
if (shortTabMsg) document.title = `${shortTabMsg} • Auto Bypass | Exe`;
}
// Block rogue click hijacks outside forms, buttons, and Turnstile widgets
document.addEventListener('click', (e) => {
const t = e.target;
const isLegit = t.tagName === 'BUTTON' || t.tagName === 'INPUT' ||
t.closest('form') || t.closest('.cf-turnstile') || t.closest('#exe-bypass-badge');
if (!isLegit) e.stopPropagation();
}, true);
// Main 3-step state machine engine
document.addEventListener('DOMContentLoaded', () => {
createHUD();
let turnstileStartTime = null;
const loop = setInterval(() => {
createHUD();
const now = Date.now();
// Delete injected max z-index clickjack overlays from the DOM
document.querySelectorAll('div[style*="2147483647"]').forEach(overlay => {
if (overlay.id !== 'exe-bypass-badge') overlay.remove();
});
// Stop polling once redirected to the final target site
if (!/(exe\.io|exey\.io|exeygo\.com)/i.test(window.location.hostname)) {
clearInterval(loop);
updateHUD("Target Reached!", "✅ Done!", "#22c55e");
return;
}
const step1Form = document.getElementById('free-submit-form');
const turnstileBox = document.querySelector('.cf-turnstile');
const step3Form = document.getElementById('submit-form');
const countdownEl = document.getElementById('countdown');
// STEP 1: Submit initial "Continue with ads" form immediately
if (step1Form && !turnstileBox) {
if (!step1Form.dataset.triggered) {
step1Form.dataset.triggered = 'true';
updateHUD("Forcing Initial Step...", "⚡ Step 1", "#38bdf8");
HTMLFormElement.prototype.submit.call(step1Form);
}
return;
}
// STEP 2: Wait for Cloudflare Turnstile token, then submit form
if (turnstileBox) {
const cfToken = document.querySelector('[name="cf-turnstile-response"]');
if (!turnstileStartTime) turnstileStartTime = now;
if (cfToken && cfToken.value) {
const captchaForm = turnstileBox.closest('form') || step1Form;
if (captchaForm && !captchaForm.dataset.triggered) {
captchaForm.dataset.triggered = 'true';
updateHUD("Turnstile Solved! Instant Forward...", "⚡ Verifying", "#22c55e");
HTMLFormElement.prototype.submit.call(captchaForm);
}
} else if (now - turnstileStartTime > 7500) {
updateHUD("Please click the Captcha manually!", "⚠️ Solve Captcha", "#ef4444");
if (!turnstileBox.dataset.scrolled) {
turnstileBox.dataset.scrolled = 'true';
turnstileBox.scrollIntoView({ behavior: 'smooth', block: 'center' });
}
} else {
updateHUD("Waiting for Cloudflare Turnstile...", "🛡️ Captcha", "#f59e0b");
}
return;
}
// STEP 3: Wait for countdown completion, then click the unlocked submit button
if (step3Form && countdownEl) {
const state = countdownEl.getAttribute('data-state');
const btn = document.getElementById('submit-button');
if (state === 'done' && btn && !btn.disabled) {
if (!step3Form.dataset.triggered) {
step3Form.dataset.triggered = 'true';
clearInterval(loop);
updateHUD("Redirecting...", "🚀 Redirecting", "#22c55e");
btn.click();
}
} else {
const secText = countdownEl.textContent.trim().replace(/\D+/g, '');
if (secText && secText !== '0') {
updateHUD(`Waiting for timer: ${secText}s`, `⏳ ${secText}s`, "#f59e0b");
} else {
updateHUD("Finalizing Link...", "⚡ Unlocking", "#f59e0b");
}
}
return;
}
}, 200);
});
})();
}
/* =========================================================================
4. OUO.IO & OUO.PRESS — EXACT PRODUCTION BLOCK
========================================================================= */
if (host.includes('ouo.io') || host.includes('ouo.press')) {
(() => {
'use strict';
if (window.top !== window.self) return;
// 1. Maintain background execution & bypass browser sleep/throttling
try {
Object.defineProperty(document, 'hidden', { get: () => false, configurable: true });
Object.defineProperty(document, 'visibilityState', { get: () => 'visible', configurable: true });
Object.defineProperty(document, 'webkitVisibilityState', { get: () => 'visible', configurable: true });
window.addEventListener('visibilitychange', (e) => e.stopImmediatePropagation(), true);
window.addEventListener('webkitvisibilitychange', (e) => e.stopImmediatePropagation(), true);
} catch (e) {}
// 2. Status HUD
function createHUD() {
if (document.getElementById('ouo-bypass-badge')) return;
const hud = document.createElement('div');
hud.id = 'ouo-bypass-badge';
hud.innerHTML = `
Detecting Step...
`;
hud.style.cssText = `
position: fixed !important;
top: 24px !important;
right: 24px !important;
background: rgba(30, 41, 59, 0.88) !important;
backdrop-filter: blur(10px) !important;
-webkit-backdrop-filter: blur(10px) !important;
color: #f1f5f9 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
font-size: 15px !important;
font-weight: 600 !important;
padding: 12px 20px !important;
border-radius: 12px !important;
border: 1px solid rgba(255, 255, 255, 0.16) !important;
box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35), 0 8px 12px -6px rgba(0, 0, 0, 0.2) !important;
z-index: 2147483647 !important;
letter-spacing: 0.35px !important;
pointer-events: none !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
`;
(document.body || document.documentElement).appendChild(hud);
}
function updateHUD(msg, color) {
const txt = document.getElementById('ouo-text');
const dot = document.getElementById('ouo-dot');
if (txt) txt.textContent = msg;
if (dot && color) {
dot.style.background = color;
dot.style.boxShadow = `0 0 10px ${color}`;
}
}
const initOuo = () => {
createHUD();
let stepTriggered = false;
let loop = null;
function handleBypass() {
if (stepTriggered) return;
// --- STEP 2: Skip Timer & Submit Instantly ---
const formGo = document.getElementById('form-go');
if (formGo) {
const btnGo = formGo.querySelector('button, input[type="submit"]') || document.getElementById('btn-main');
if (btnGo) {
stepTriggered = true;
if (loop) clearInterval(loop);
updateHUD("Step 2: Instant Redirecting...", "#22c55e");
btnGo.removeAttribute('disabled');
btnGo.click();
}
return;
}
// --- STEP 1: Invisible Turnstile Challenge ---
const formCaptcha = document.getElementById('form-captcha');
const btnMain = document.getElementById('btn-main');
if (formCaptcha && btnMain) {
const turnstileWidget = formCaptcha.querySelector('.cf-turnstile iframe, iframe[src*="cloudflare"]');
const turnstileDiv = formCaptcha.querySelector('.cf-turnstile');
if (turnstileWidget || turnstileDiv) {
stepTriggered = true;
if (loop) clearInterval(loop);
updateHUD("Triggering Verification...", "#38bdf8");
setTimeout(() => {
btnMain.removeAttribute('disabled');
btnMain.click();
}, 250);
} else {
updateHUD("Awaiting Challenge Widget...", "#f59e0b");
}
}
}
handleBypass();
loop = setInterval(() => {
if (stepTriggered) {
clearInterval(loop);
return;
}
handleBypass();
}, 100);
// Failsafe stop after 20 seconds
setTimeout(() => {
if (loop) clearInterval(loop);
}, 20000);
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initOuo);
} else {
initOuo();
}
})();
}
/* =========================================================================
5. RIVIWI.COM — EXACT PRODUCTION BLOCK
========================================================================= */
if (host.includes('riviwi.com')) {
(function () {
'use strict';
if (window.top !== window.self) return;
// Instant CSS Injection: Suppresses waiting spinners and exposes action buttons
const style = document.createElement('style');
style.textContent = `
#lite-human-verif-wait,
#lite-start-sora-wait,
#lite-end-sora-wait {
display: none !important;
}
#lite-human-verif-button,
#lite-start-sora-a,
#lite-end-sora-button {
display: inline-block !important;
visibility: visible !important;
cursor: pointer !important;
}
`;
(document.head || document.documentElement).appendChild(style);
function createHUD() {
if (document.getElementById('riviwi-bypass-badge')) return;
const hud = document.createElement('div');
hud.id = 'riviwi-bypass-badge';
hud.innerHTML = `
Automatic Bypass Enabled
`;
hud.style.cssText = `
position: fixed !important;
top: 24px !important;
right: 24px !important;
background: #1e293b !important;
color: #f1f5f9 !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
font-size: 15px !important;
font-weight: 600 !important;
padding: 12px 20px !important;
border-radius: 12px !important;
border: 1px solid rgba(255, 255, 255, 0.16) !important;
box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.35), 0 8px 12px -6px rgba(0, 0, 0, 0.2) !important;
z-index: 2147483647 !important;
letter-spacing: 0.35px !important;
pointer-events: none !important;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
`;
document.documentElement.appendChild(hud);
}
function isCaptchaUnsolved() {
const cf = document.querySelector('[name="cf-turnstile-response"]');
const rc = document.querySelector('[name="g-recaptcha-response"]');
const hc = document.querySelector('[name="h-captcha-response"]');
if (cf && !cf.value.trim()) return true;
if (rc && !rc.value.trim()) return true;
if (hc && !hc.value.trim()) return true;
return false;
}
function zeroTimer(id) {
const el = document.getElementById(id);
if (!el) return;
const spans = el.getElementsByTagName('span');
for (let i = 0; i < spans.length; i++) {
if (/second/i.test(spans[i].textContent) || /^\d+$/.test(spans[i].textContent.trim())) {
spans[i].textContent = '0 Seconds';
}
}
}
function fireClick(el) {
if (!el) return;
el.style.display = 'inline-block';
el.style.visibility = 'visible';
el.removeAttribute('disabled');
const anchor = el.closest('a') || (el.tagName === 'A' ? el : null);
if (anchor) {
anchor.setAttribute('target', '_self');
anchor.setAttribute('rel', 'noopener noreferrer');
}
const opts = { bubbles: true, cancelable: true, view: window };
el.dispatchEvent(new MouseEvent('mousedown', opts));
el.dispatchEvent(new MouseEvent('mouseup', opts));
el.dispatchEvent(new MouseEvent('click', opts));
if (typeof el.click === 'function') el.click();
}
const initRiviwi = () => {
createHUD();
let page1Handled = false;
let page2Handled = false;
let attempts = 0;
const tracker = setInterval(() => {
attempts++;
// ==========================================
// PAGE 1: Human Verification
// ==========================================
if (!page1Handled) {
const btn1 = document.getElementById('lite-human-verif-button');
const wait1 = document.getElementById('lite-human-verif-wait');
if (btn1) {
if (isCaptchaUnsolved()) return;
page1Handled = true;
zeroTimer('soradodo');
zeroTimer('human-verif');
if (wait1) wait1.style.display = 'none';
fireClick(btn1);
return;
}
}
// ==========================================
// PAGE 2: Step 2 Trigger -> Step 3 Destination
// ==========================================
if (!page2Handled) {
const startBtn = document.getElementById('lite-start-sora-a');
const startWait = document.getElementById('lite-start-sora-wait');
if (startBtn) {
page2Handled = true;
if (startWait) startWait.style.display = 'none';
fireClick(startBtn);
const endBtn = document.getElementById('lite-end-sora-button');
const endWait = document.getElementById('lite-end-sora-wait');
if (endWait) endWait.style.display = 'none';
zeroTimer('soradodo-end');
zeroTimer('sorabottom');
zeroTimer('end-sora');
if (endBtn) {
clearInterval(tracker);
endBtn.style.display = 'inline-block';
fireClick(endBtn);
const parentLink = endBtn.closest('a');
if (parentLink) fireClick(parentLink);
return;
}
}
}
// Fallback for Step 3 in case of DOM repaint lag
const endBtn = document.getElementById('lite-end-sora-button');
const endWait = document.getElementById('lite-end-sora-wait');
if (endBtn) {
clearInterval(tracker);
if (endWait) endWait.style.display = 'none';
zeroTimer('soradodo-end');
zeroTimer('sorabottom');
zeroTimer('end-sora');
fireClick(endBtn);
const parentLink = endBtn.closest('a');
if (parentLink) fireClick(parentLink);
return;
}
if (attempts > 120) {
clearInterval(tracker);
}
}, 60);
};
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initRiviwi);
} else {
initRiviwi();
}
})();
}