Size
4.2 KB
Version
1.0.1
Created
Nov 6, 2025
Updated
about 1 month ago
1// ==UserScript==
2// @name HIX Bypass Unlimited Words
3// @description Bypass the word limit on HIX Bypass to get unlimited words
4// @version 1.0.1
5// @match https://*.bypass.hix.ai/*
6// @icon https://bypass.hix.ai/favicon.ico
7// ==/UserScript==
8(function() {
9 'use strict';
10
11 console.log('HIX Bypass Unlimited Words extension loaded');
12
13 // Debounce function to prevent excessive calls
14 function debounce(func, wait) {
15 let timeout;
16 return function executedFunction(...args) {
17 const later = () => {
18 clearTimeout(timeout);
19 func(...args);
20 };
21 clearTimeout(timeout);
22 timeout = setTimeout(later, wait);
23 };
24 }
25
26 // Function to remove word limit display and modify it to show unlimited
27 function removeWordLimit() {
28 // Find and modify the word limit display
29 const wordLimitElement = document.querySelector('.text-\\[\\#2361F9\\]');
30 if (wordLimitElement && !wordLimitElement.dataset.modified) {
31 wordLimitElement.textContent = '∞ Unlimited words';
32 wordLimitElement.style.color = '#00c853';
33 wordLimitElement.dataset.modified = 'true';
34 console.log('Word limit display updated to unlimited');
35 }
36
37 // Hide the "Get more" button
38 const getMoreButton = document.querySelector('.bg-\\[\\#ff4d4f\\]');
39 if (getMoreButton && getMoreButton.style.display !== 'none') {
40 getMoreButton.style.display = 'none';
41 console.log('Get more button hidden');
42 }
43 }
44
45 // Function to intercept and modify API calls that check word limits
46 function interceptWordLimitChecks() {
47 // Override fetch to bypass word limit checks
48 const originalFetch = window.fetch;
49 window.fetch = function(...args) {
50 const url = args[0];
51
52 // Intercept requests that might check word limits
53 if (typeof url === 'string' && (url.includes('word') || url.includes('limit') || url.includes('quota') || url.includes('usage'))) {
54 console.log('Intercepted word limit check:', url);
55
56 // Return a fake successful response
57 return Promise.resolve(new Response(JSON.stringify({
58 success: true,
59 unlimited: true,
60 wordsRemaining: 999999,
61 wordsUsed: 0,
62 quota: 999999
63 }), {
64 status: 200,
65 headers: { 'Content-Type': 'application/json' }
66 }));
67 }
68
69 return originalFetch.apply(this, args);
70 };
71
72 console.log('API interceptors installed');
73 }
74
75 // Function to continuously monitor and remove restrictions
76 function monitorAndRemoveRestrictions() {
77 // Use MutationObserver to watch for DOM changes with debouncing
78 const debouncedRemoveWordLimit = debounce(removeWordLimit, 300);
79
80 const observer = new MutationObserver(() => {
81 debouncedRemoveWordLimit();
82 });
83
84 // Start observing the document
85 observer.observe(document.body, {
86 childList: true,
87 subtree: true,
88 attributes: true,
89 attributeFilter: ['class', 'style']
90 });
91
92 console.log('DOM observer started');
93 }
94
95 // Initialize the bypass
96 function init() {
97 console.log('Initializing HIX Bypass paywall remover...');
98
99 // Wait for the page to load
100 if (document.readyState === 'loading') {
101 document.addEventListener('DOMContentLoaded', init);
102 return;
103 }
104
105 // Apply bypasses immediately
106 removeWordLimit();
107 interceptWordLimitChecks();
108
109 // Set up continuous monitoring after a delay
110 setTimeout(() => {
111 removeWordLimit();
112 monitorAndRemoveRestrictions();
113 }, 1000);
114
115 // Reapply every few seconds to catch any dynamic updates
116 setInterval(removeWordLimit, 3000);
117
118 console.log('HIX Bypass paywall remover initialized successfully!');
119 }
120
121 // Start the extension
122 init();
123})();