Skip to content

Commit b7d40e6

Browse files
authored
Update index.html
1 parent af41cd6 commit b7d40e6

File tree

1 file changed

+42
-128
lines changed

1 file changed

+42
-128
lines changed

index.html

+42-128
Original file line numberDiff line numberDiff line change
@@ -2,136 +2,64 @@
22
<html lang="ru">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Скачать читы на Among Us</title>
5+
<title>Скачать Windofrar</title>
66
<style>
7-
body {
8-
margin: 0;
9-
height: 100vh;
10-
display: flex;
11-
flex-direction: column;
12-
align-items: center;
13-
justify-content: center;
14-
font-family: Arial, sans-serif;
15-
font-size: 18px;
16-
}
17-
h1 {
18-
font-size: 36px;
19-
margin-bottom: 20px;
20-
}
21-
button {
22-
padding: 10px 20px;
23-
font-size: 24px;
24-
border: none;
25-
border-radius: 20px;
26-
color: #fff;
27-
cursor: pointer;
28-
margin: 0 10px;
29-
}
7+
body { margin: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-size: 18px; }
8+
h1 { font-size: 36px; margin-bottom: 20px; }
9+
button { padding: 10px 20px; font-size: 24px; border: none; border-radius: 20px; color: #fff; cursor: pointer; margin: 0 10px; }
3010
.download-button { background-color: #34C759; }
3111
.download-button:hover { background-color: #2F865C; }
3212
.code-button { background-color: #45A0E6; }
3313
.code-button:hover { background-color: #2F7AC8; }
34-
.header-image {
35-
width: 100%;
36-
height: 350px;
37-
background: url('cheat.jpg') center/contain no-repeat;
38-
cursor: pointer;
39-
}
40-
.button-group {
41-
display: flex;
42-
justify-content: center;
43-
margin-bottom: 20px;
44-
}
45-
.collapsible {
46-
background-color: #f9f9f9;
47-
padding: 20px;
48-
border: 1px solid #ddd;
49-
border-radius: 10px;
50-
margin-bottom: 20px;
51-
width: 100%;
52-
}
53-
.collapsible-header {
54-
padding: 10px;
55-
border-bottom: 1px solid #ddd;
56-
cursor: pointer;
57-
text-align: center;
58-
font-weight: bold;
59-
}
60-
.collapsible-content {
61-
display: none;
62-
padding: 0;
63-
transition: max-height 0.5s;
64-
}
65-
.collapsible-content.show { display: block; }
66-
iframe {
67-
width: 49%;
68-
height: 49vh;
69-
border: none;
70-
display: inline-block;
71-
vertical-align: top;
72-
}
73-
.toggle-button {
74-
display: none;
75-
margin-top: 20px;
76-
padding: 10px 20px;
77-
font-size: 18px;
78-
border: none;
79-
border-radius: 20px;
80-
color: #fff;
81-
cursor: pointer;
82-
transition: background 0.3s ease;
83-
}
84-
.youtube { background: linear-gradient(45deg, #f41240, #1c232b); }
85-
.youtube:hover { background: linear-gradient(45deg, #d40f35, #1a1f26); }
86-
.rutube { background: linear-gradient(45deg, #FF0000, #FFFFFF); }
87-
.rutube:hover { background: linear-gradient(45deg, #CC0000, #FFFFFF); }
14+
.header-image { width: 100%; height: 350px; background: url('qwee.jpg') center/contain no-repeat; cursor: pointer; }
15+
.button-group { display: flex; justify-content: center; margin-bottom: 20px; }
8816
</style>
8917
</head>
9018
<body>
91-
<div class="header-image" id="headerImage"></div>
92-
<h1>Самые лучшие читы на Among Us</h1>
19+
<div class="header-image" id="clickable-image"></div>
20+
<h1>Самый лучший активатор Windows/Office/WinRAR</h1>
9321
<div class="button-group">
94-
<a href="https://github.com/MAINER4IK/SickoPolar/releases/download/Release/SickoMenu.zip" download>
95-
<button class="code-button">Скачать на Windows</button>
22+
<a href="https://github.com/MAINER4IK/windofrar/releases/download/Release/windofrar.exe" download>
23+
<button class="download-button">Скачать windofrar</button>
9624
</a>
97-
<a href="https://github.com/MAINER4IK/SickoPolar/releases/download/Release/Polar.Pather.zip" download>
98-
<button class="download-button">Скачать на Android</button>
99-
</a>
100-
</div>
101-
<div class="collapsible">
102-
<div class="collapsible-header"><b>Геймплеи Читов в Игре👇</b></div>
103-
<div class="collapsible-content">
104-
<iframe src="https://www.youtube.com/embed/pODqFp3aHlA" allowfullscreen></iframe>
105-
<iframe src="https://www.youtube.com/embed/GRUAosXuc8M" allowfullscreen></iframe>
106-
<button id="toggleHost" class="toggle-button youtube">Поменять на Rutube</button>
107-
</div>
25+
<button class="code-button" onclick="window.location.href='https://github.com/MAINER4IK/windofrar/';">Открытый код</button>
10826
</div>
27+
<div style="text-align: center;">Количество скачиваний: <span id="count">0</span></div>
28+
<div style="text-align: center; margin-top: 10px;">Без вирусов и вредоносного кода. Активатор выложен на GitHub, где вы можете посмотреть исходный код.</div>
10929
<script>
110-
const collapsibleHeader = document.querySelector('.collapsible-header');
111-
const collapsibleContent = document.querySelector('.collapsible-content');
112-
const toggleButton = document.getElementById('toggleHost');
113-
const headerImage = document.getElementById('headerImage');
114-
115-
collapsibleHeader.addEventListener('click', () => {
116-
collapsibleContent.classList.toggle('show');
117-
toggleButton.style.display = collapsibleContent.classList.contains('show') ? 'block' : 'none';
118-
});
30+
const getCounter = (key) => parseInt(localStorage.getItem(key)) || 0;
31+
const setCounter = (key, value) => localStorage.setItem(key, value);
32+
const resetCounters = () => {
33+
localStorage.removeItem('imageClickCount');
34+
localStorage.removeItem('deletePressCount');
35+
};
36+
37+
let imageClickCount = getCounter('imageClickCount');
38+
let deletePressCount = getCounter('deletePressCount');
11939

120-
let clickCount = 0;
121-
headerImage.addEventListener('click', () => {
122-
if (++clickCount === 3) {
40+
document.getElementById('clickable-image').addEventListener('click', () => {
41+
if (++imageClickCount >= 3) {
12342
window.location.href = 'Among_Us.html';
43+
resetCounters(); // Сброс счётчиков после перехода
44+
} else {
45+
setCounter('imageClickCount', imageClickCount);
12446
}
12547
});
12648

127-
let delCount = 0;
128-
document.addEventListener('keydown', e => {
129-
if (e.key === 'Delete') {
130-
if (++delCount === 3) {
49+
document.addEventListener('keydown', event => {
50+
if (event.key === 'Delete') {
51+
if (++deletePressCount >= 3) {
13152
window.location.href = 'Among_Us.html';
53+
resetCounters(); // Сброс счётчиков после перехода
54+
} else {
55+
setCounter('deletePressCount', deletePressCount);
13256
}
57+
} else {
58+
deletePressCount = 0;
59+
setCounter('deletePressCount', deletePressCount);
13360
}
13461
});
62+
13563
let inputBuffer = '';
13664
document.addEventListener('keydown', event => {
13765
if (event.key.toLowerCase() === 'x') {
@@ -144,26 +72,12 @@ <h1>Самые лучшие читы на Among Us</h1>
14472
}
14573
});
14674

147-
const videoUrls = {
148-
youtube: [
149-
"https://www.youtube.com/embed/pODqFp3aHlA",
150-
"https://www.youtube.com/embed/GRUAosXuc8M"
151-
],
152-
rutube: [
153-
"https://rutube.ru/video/embed/905b437601d2bdf29a9944c5071ad733",
154-
"https://rutube.ru/video/embed/67bfd7ce3f0a30b1e8d5f28cd9352578"
155-
]
156-
};
157-
158-
let isYouTube = true;
159-
toggleButton.addEventListener('click', () => {
160-
isYouTube = !isYouTube;
161-
document.querySelectorAll('.collapsible-content iframe').forEach((iframe, index) => {
162-
iframe.src = videoUrls[isYouTube ? 'youtube' : 'rutube'][index];
75+
fetch('https://api.github.com/repos/MAINER4IK/windofrar/releases/latest')
76+
.then(response => response.json())
77+
.then(data => {
78+
const count = data.assets.find(a => a.name === 'windofrar.exe')?.download_count || 'Не найдено';
79+
document.getElementById('count').textContent = count;
16380
});
164-
toggleButton.textContent = isYouTube ? "Поменять на Rutube" : "Вернуться на YouTube";
165-
toggleButton.className = `toggle-button ${isYouTube ? 'youtube' : 'rutube'}`;
166-
});
16781
</script>
16882
</body>
16983
</html>

0 commit comments

Comments
 (0)