Size
2.3 KB
Version
1.1.1
Created
Dec 16, 2025
Updated
3 months ago
1// ==UserScript==
2// @name F95Zone Skip Button Disabler
3// @description Disables skip buttons on F95Zone captcha pages
4// @version 1.1.1
5// @match https://*.f95zone.to/*
6// @icon https://f95zone.to/favicon.ico
7// ==/UserScript==
8(function() {
9 'use strict';
10
11 function disableSkipButtons() {
12 console.log('Looking for skip buttons to disable...');
13
14 // Find all skip buttons
15 const skipHosterBtn = document.querySelector('#captchaSkipHoster');
16 const skipPackageBtn = document.querySelector('#captchaSkipPackage');
17 const skipAllBtn = document.querySelector('#captchaSkipAll');
18
19 let buttonsFound = false;
20
21 // Disable each button if found
22 if (skipHosterBtn && !skipHosterBtn.disabled) {
23 skipHosterBtn.disabled = true;
24 skipHosterBtn.style.opacity = '0.5';
25 skipHosterBtn.style.cursor = 'not-allowed';
26 skipHosterBtn.style.pointerEvents = 'none';
27 console.log('Disabled "Skip hoster" button');
28 buttonsFound = true;
29 }
30
31 if (skipPackageBtn && !skipPackageBtn.disabled) {
32 skipPackageBtn.disabled = true;
33 skipPackageBtn.style.opacity = '0.5';
34 skipPackageBtn.style.cursor = 'not-allowed';
35 skipPackageBtn.style.pointerEvents = 'none';
36 console.log('Disabled "Skip package" button');
37 buttonsFound = true;
38 }
39
40 if (skipAllBtn && !skipAllBtn.disabled) {
41 skipAllBtn.disabled = true;
42 skipAllBtn.style.opacity = '0.5';
43 skipAllBtn.style.cursor = 'not-allowed';
44 skipAllBtn.style.pointerEvents = 'none';
45 console.log('Disabled "Skip all" button');
46 buttonsFound = true;
47 }
48
49 if (buttonsFound) {
50 console.log('Skip buttons disabled successfully');
51 }
52 }
53
54 // Run when page loads
55 if (document.readyState === 'loading') {
56 document.addEventListener('DOMContentLoaded', disableSkipButtons);
57 } else {
58 disableSkipButtons();
59 }
60
61 // Also observe for dynamic changes in case buttons are added later
62 const observer = new MutationObserver(() => {
63 disableSkipButtons();
64 });
65
66 observer.observe(document.body, {
67 childList: true,
68 subtree: true
69 });
70
71})();