-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path3ds.html
99 lines (84 loc) · 2.23 KB
/
3ds.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SuperBrowser - Nintendo 3DS</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
margin: 0;
padding: 0;
text-align: center;
}
.header {
background-color: #4285f4;
color: white;
padding: 10px 0;
font-size: 20px;
}
.search-bar {
margin: 40px auto;
}
input[type="text"] {
width: 80%;
padding: 15px;
font-size: 18px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: white;
color: #333;
}
.newtab-links {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.newtab-links a {
text-decoration: none;
color: #4285f4;
font-size: 16px;
font-weight: bold;
}
.content {
margin: 50px auto;
width: 80%;
max-width: 1000px;
}
.content h1 {
font-size: 36px;
}
.content p {
font-size: 18px;
}
</style>
</head>
<body>
<div class="header">
SuperBrowser - Nintendo 3DS
</div>
<div class="content">
<h1>SuperBrowser on Nintendo 3DS</h1>
<p>Welcome to SuperBrowser on your Nintendo 3DS!</p>
<div class="newtab-links">
<a href="#">Google</a>
<a href="#">YouTube</a>
<a href="#">Gmail</a>
</div>
<div class="search-bar">
<input type="text" id="searchBox" placeholder="Search...">
</div>
</div>
<script>
// Detecting the User-Agent
const userAgent = navigator.userAgent.toLowerCase();
const isNintendo3DS = userAgent.includes('nintendo 3ds');
// Redirecting based on User-Agent
if (!isNintendo3DS) {
window.location.href = 'index.html';
}
</script>
</body>
</html>