This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
forked from OshekharO/Webvium-Search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (107 loc) · 4.84 KB
/
index.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="https://saksham.thedev.id/Webvium-Search/favicon.png">
<meta property="og:type" content="website" />
<meta charset="utf-8">
<meta property="article:publisher" content="https://www.facebook.com/oshekher">
<meta property="article:modified_time" content="2023-07-08T13:37:36+00:00">
<meta property="og:image:alt" content="Webvium Search">
<meta property="twitter:image:src" content="https://saksham.thedev.id/Webvium-Search/favicon.png" />
<meta property="twitter:title"
content="Webvium Search - The new way to browser the web" />
<meta property="twitter:description"
content="Browse the internet easier with Webvium Search" />
<meta property="og:title"
content="Webvium Search - The new way to browser the web">
<meta property="og:url" content="https://saksham.thedev.id/Webvium-Search/">
<meta property="og:site_name"
content="Webvium Search - The new way to browser the web">
<meta property="og:description"
content="Browse the internet easier with Webvium Search">
<meta property="og:image" content="https://saksham.thedev.id/Webvium-Search/favicon.png">
<meta name="theme-color" content="#ffffff">
<meta name="keywords" content="webvium, webvium search">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="Browse the internet easier with Webvium Search">
<meta name="twitter:creator" content="@PurityWasHere" />
<meta name="twitter:site" content="@PurityWasHere" />
<meta name="twitter:domain" content="saksham.thedev.id" />
<meta name="twitter:card" content="summary_large_image">
<link rel="canonical" href="https://saksham.thedev.id/Webvium-Search/">
<meta name="hostname" content="saksham.thedev.id">
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "WebApplication",
"applicationCategory":"CommunicationApplication",
"description":"Browse the internet easier with Webvium Search",
"image":"https://saksham.thedev.id/Webvium-Search/favicon.png",
"name":"Webvium Search - The new way to browser the web",
"url":"https://saksham.thedev.id/Webvium-Search/",
"aggregateRating": { "@type": "AggregateRating", "ratingValue": "4.0", "ratingCount": "45" },
"offers": { "@type": "Offer", "price": "0" }
}
</script>
<link rel="shortcut icon" href="favicon.png">
<link rel="apple-touch-icon" href="favicon.png">
<title>Webvium Search - The new way to browser the web</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<main>
<img class="mx-auto img-fluid d-block" src="https://rawcdn.githack.com/OshekharO/Web-Indexer/6655e787c1b50e58b0e8c003a23e3a620ecf46b8/img/tusky.svg" alt="Logo" width="200"/>
<div class="search-container">
<form class="input-box" method="get" action="https://www.google.com/search">
<select id="engine-select">
<option value="google" selected>Google</option>
<option value="yahoo">Yahoo</option>
<option value="bing">Bing</option>
<option value="brave">Brave</option>
<option value="you">You</option>
<option value="yep">Yep</option>
<option value="webvium">Webvium</option>
</select>
<input id="search" name="q" type="text" placeholder="Search..." />
<button id="go" type="submit">Go</button>
</form>
</div>
</main>
<script>
search.addEventListener("keyup", function (event) {
if (event.key === "Enter") {
go.click();
}
});
document.querySelector(".input-box").addEventListener("submit", function(event) {
var select = document.getElementById("engine-select");
var selectedOption = select.options[select.selectedIndex].value;
switch (selectedOption) {
case "bing":
this.action = "https://www.bing.com/search";
break;
case "yahoo":
this.action = "https://search.yahoo.com/search";
break;
case "you":
this.action = "https://you.com/search";
break;
case "brave":
this.action = "https://search.brave.com/search";
break;
case "yep":
this.action = "https://yep.com/web";
break;
case "webvium":
this.action = "https://mrepol742.github.io/search";
break;
default:
this.action = "https://www.google.com/search";
break;
}
});
</script>
</body>
</html>