-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 1.46 KB
/
index.html
File metadata and controls
42 lines (38 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="FryoSearch is a small search engine with no ads and no AI.">
<title>FryoSearch</title>
<link rel="stylesheet" type="text/css" href="index.css">
<link rel="search" type="application/opensearchdescription+xml" title="FryoSearch" href="search.xml">
</head>
<body>
<div class="content-container">
<h1>FryoSearch</h1>
<p>A search engine with no ads or AI, just pure results.</p>
<div class="statistics">
<div class="stat-box">
<span class="stat-number" id="indexedUrls">0</span>
<span class="stat-label">Indexed URLs</span>
</div>
</div>
<a href="search.php" class="search-button">Start Searching</a>
</div>
<footer>
<p>A question, feedback or issue?: fryonys.kite941@passinbox.com</p>
</footer>
</body>
<script>
// Read the stats file and update the display
fetch('search_stats.json')
.then(response => response.json())
.then(data => {
const userLocale = navigator.language || 'en-UK';
const formatter = new Intl.NumberFormat(userLocale);
document.getElementById('indexedUrls').textContent = formatter.format(data.indexed_urls_count);
})
.catch(error => console.error('Error loading stats:', error));
</script>
</html>