forked from pretzer25/Ultra-learn
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnow.html
More file actions
80 lines (73 loc) · 2.48 KB
/
now.html
File metadata and controls
80 lines (73 loc) · 2.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<style>
#iframe {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
</style>
<style>
.centered-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -99999999;
}
</style>
</head>
<body>
<div class="centered-text">
<p>Loading bypass...
This process is expected to complete within 1-3 minutes. If the operation exceeds this timeframe, please attempt the following steps:
1. Navigate to `chrome://settings`.
2. Proceed to 'Privacy and Security'.
3. Access 'Clear Browsing Data'.
4. Ensure 'Cached Images and Files' is selected.
5. Initiate the clearing process.
Should the issue persist, a browser reboot is advised before retrying. Thank you for your patience.</p>
</div>
<iframe id="iframe" src="https://ultra-learn.vercel.app/service/hvtrs8%2F-nmw%2Cge%2Fkfpaoe-slirpgt%3Darp%5Dpig%3Fcmm%2Crmbnoz.alkelt%24pcrvngr%3Filtgrqtglnap"></iframe>
<script>
function generateRandomNumbers() {
let numbers = '';
for (let i = 0; i < 9; i++) {
numbers += Math.floor(Math.random() * 10).toString();
}
return numbers;
}
function setIframeSource(iframeId, baseUrl) {
const randomNumbers = generateRandomNumbers();
const newSrc = `${baseUrl}?random=${randomNumbers}`;
document.getElementById(iframeId).src = newSrc;
}
setIframeSource('iframe', 'https://ultra-learn.vercel.app/service/hvtrs8%2F-nmw%2Cge%2Fkfpaoe-slirpgt%3Darp%5Dpig%3Fcmm%2Crmbnoz.alkelt%24pcrvngr%3Filtgrqtglnap');
let count = 0
let notfound = 0
const limit = 10
const max = 45
const reloadInterval = setInterval(() => {
if (count < limit && iframe) {
const iframeDocument = iframe.contentDocument || iframe.contentWindow.document
const element = iframeDocument.querySelector('.sc-hGPBjI.gGkQpt')
if (element) {
console.log('Class found inside the iframe.')
document.getElementById('iframe').style.display = 'none'
iframeDocument.location.reload()
count += 1
notfound = 0
} else {
console.log('Class not found inside the iframe.')
notfound += 1
if (notfound >= max) {
clearInterval(reloadInterval)
document.getElementById('iframe').style.display = 'block'
}
}
} else {
clearInterval(reloadInterval)
}
}, 800)
</script>