-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
257 lines (230 loc) · 8.92 KB
/
Copy pathindex.html
File metadata and controls
257 lines (230 loc) · 8.92 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/css/style.css?<?php echo(time());?>">
<link rel="stylesheet" href="/css/inputs.scss?<?php echo(time());?>">
<link rel="stylesheet" href="/assets/css/indexdata.css?<?php echo(time());?>">
<link rel="shortcut icon" href="/images/search.png" type="image/x-icon">
<title>StuffSearch</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'>
<meta property="og:title" content="StuffSearch">
<meta property="og:description" content="Search for anything on several Search engines">
<meta property="og:image" content="/images/search.png">
<meta name="theme-color" content="#ADD8E6">
<script src="/js/script.js";>
</script>
<style>
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #f5f5f5;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
transition: opacity 0.5s ease-in-out, visibility 0.5s;
}
.spinner {
width: 50px;
height: 50px;
border: 5px solid rgba(255, 255, 255, 0.3);
border-top: 5px solid #ffffff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.loaded #preloader {
opacity: 0;
visibility: hidden;
}
.popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
z-index: 1000;
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
}
</style>
</head>
<body>
<div id="preloader">
<div class="spinner"></div>
</div>
<div class="background-container">
<img id="background-image" src="/images/desktop.png" alt="Initial Background Image">
<video id="background-video"autoplay muted>
<source src="https://cdn.rizzmail.wtf/u/W6ZEpx5DrX3TGJ7.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<script src="/js/vidpreload.js"></script>
<img id="final-background" src="/images/desktop.png" alt="Final Background Image">
</div>
<div class="content">
<div class="nav-links-index">
<h1>
<img src="/images/search.png" class="title-image hide-on-mobile">
<span class="title h1 c1">Stuff</span>
<span class="title h1 c2">Search</span>
<img src="/images/search-inverted.png" class="title-image hide-on-mobile">
</h1>
<p id="description">Search Anything</p>
<script src="/js/csl.js"></script>
<form id="Search" action="https://search.brave.com/search" method="get" target="_blank" onsubmit="updateSearchAction()">
<label for="search-engine-select" id="search_engine_label">Choose Search Engine:</label>
<select id="search-engine-select" name="engine" onchange="updateSearchAction()">
<option value="brave" selected>Brave Search</option>
<option value="google">Google Search</option>
<option value="bing">Bing Search</option>
<option value="duckduckgo">DuckDuckGo</option>
<option value="ecosia">Ecosia Search</option>
<option value="yahoo">Yahoo! Search</option>
</select>
<br><br>
<input type="text" class="input" name="q" placeholder="Enter your search query" id="query_placeholder">
<button class="button_search" id="search_button">
<i class="ai-search"></i>
</button>
<!-- !!Coming soon!!
<script>
async function copyShareLink() {
let query = document.getElementById("query_placeholder").value;
if (!query) {
alert("Bitte eine Suchanfrage eingeben.");
return;
}
let originalLink = `https://search.stuffmaker.org/?q=${encodeURIComponent(query)}`;
try {
let response = await fetch("https://share.toiletcleaner.eu/index.php", {
method: "POST",
headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: `url=${encodeURIComponent(originalLink)}`
});
if (!response.ok) {
let errorText = await response.text();
throw new Error(`Server-Fehler: ${errorText}`);
}
let shortLink = await response.text();
showPopup(originalLink, shortLink);
} catch (error) {
console.error("Fetch-Fehler:", error);
alert("Fehler beim Abrufen des Shortlinks. Details in der Konsole.");
}
}
function showPopup(originalLink, shortLink) {
let overlay = document.createElement("div");
overlay.className = "popup-overlay";
let popup = document.createElement("div");
popup.className = "popup";
popup.innerHTML = `
<p>Original Link:</p>
<input type="text" value="${originalLink}" readonly style="width: 100%;">
<p>Gekürzter Link:</p>
<input type="text" value="${shortLink}" readonly style="width: 100%;">
<button onclick="window.location.href='${shortLink}&go=true'">Direkt weiterleiten</button>
<button onclick="navigator.clipboard.writeText('${shortLink}')">Gekürzten Link kopieren</button>
<button onclick="navigator.clipboard.writeText('${originalLink}')">Original Link kopieren</button>
<button onclick="document.body.removeChild(popup); document.body.removeChild(overlay);">Schließen</button>
`;
document.body.appendChild(overlay);
document.body.appendChild(popup);
}
if (file_put_contents($databaseFile, $entry, FILE_APPEND | LOCK_EX) === false) {
die("Fehler beim Speichern in db.sql");
}
</script>-->
<button type="button" class="button_share" onclick="copyShareLink()">
<i class="ai-share-box"></i>
</button>
<p id="message"></p>
</form>
<script src="https://unpkg.com/akar-icons-fonts"></script>
<footer>
<!-- <br>
<a href="/about">
<button class="button_abt">About</button>
</a>-->
<br class="spacer">
<!--<span id="feedback_footer_txt"> <a href="https://discord.fish/stuffsearch" target="_blank">We want your feedback</a> </span>-->
<p class="version-info">Version: <span id="version"><Loading class="loading..."></Loading></span></p>
<a href="/github" target="_blank" class="social-icon" data-tooltip="GitHub">
<img src="/images/github.ico" alt="GitHub">
</a>
<a href="https://discord.fish/stuffmaker" target="_blank" class="social-icon" data-tooltip="Discord Community">
<img src="/images/discord-mark-blue.svg" alt="Discord">
</a>
<a href="https://searchinfo.stuffmaker.org" target="_blank" class="social-icon" data-tooltip="Info">
<img src="/images/info-icon.png" alt="Info">
</a>
<a href="/feedback" class="social-icon" data-tooltip="Feedback">
<img src="/images/feedback.png" style="width: 30px; height: 30px; margin-top: 10px;" alt="Feedback">
</a>
</footer>
<script src="/js/detect.js"></script>
<style>
.troubleshoot-popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgb(0, 0, 0);
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 1000;
border-radius: 10px;
width: 300px;
text-align: center;
}
@media (min-width: 768px) {
.troubleshoot-popup {
top: 100px;
transform: translateX(-50%);
}
}
.troubleshoot-popup img {
width: 100%;
margin-top: 10px;
}
.troubleshoot-close-button {
margin-top: 10px;
padding: 5px 10px;
background: #ff4d4d;
color: rgb(0, 0, 0);
border: none;
border-radius: 5px;
cursor: pointer;
}
.troubleshoot-close-button:hover {
background: #cc0000;
}
</style>
<script src="/js/version.js">
</script>
</footer>
<script src="/js/language.js";></script>
<br class="spacer">
<a href="/privacy" class="privacy-text" target="_blank">Privacy Policy</a>
</div>
</div>
<script>console.log('%cSite sucessfully loaded', 'color: gray; text-decoration: cursive; font-size: 20px;');</script>
</body>
</html>