-
Notifications
You must be signed in to change notification settings - Fork 3
/
search.html
281 lines (192 loc) · 8.09 KB
/
search.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
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Search (redirect)</title>
<meta name="description" content="Search (redirect). Redirection to other search engines.">
<meta name="keywords" content="web, search, redirection, redirect, page, main,">
<link rel="alternate" type="application/rss+xml" title="Website RSS" href="/rss.xml">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<!--<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">-->
<link rel="icon" sizes="512x512" href="/img/logo.png" type="image/png">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<!-- main -->
<link rel="preload" href="./js/main.js" as="script">
<link rel="preload" href="./css/main.css" as="style">
<link rel="stylesheet" href="./css/main.css" type="text/css">
<link rel="preload" href="./css/auto.css" as="style">
<link rel="stylesheet" type="text/css" href="./css/auto.css" id="theme">
<link rel="preload" href="./css/style.css" as="style">
<link rel="stylesheet" href="./css/style.css" type="text/css">
<noscript>
<link rel="stylesheet" type="text/css" href="./css/noscript.css">
</noscript>
<!-- // main -->
<link rel="preload" href="./projects/redirects-25/script.js" as="script">
</head>
<body>
<!-- Nav v.1.2.2 -->
<!-- page, style.css, main.js, noscript.css -->
<!-- nav HTML part -->
<header>
<div class="wrapper3 navTop">
<div class="margin"></div>
<nav>
<a class="countMenuItem inlineBlock padding" style="padding-left: 0;" href="./index.html" title="nav1"><img class="logo2 reduceLight" src="./img/logo.png" alt="logo" style="max-width: 26px;"></a>
<div class="menuTop">
<!-- menu items -->
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./main-list.html">Main</a>
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./projects-page.html">Projects</a>
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./games-list.html">Games</a>
<!-- // menu items -->
</div>
<!-- // menuTop -->
<!-- dropdown menu -->
<!-- https://www.w3schools.com/howto/howto_js_dropdown.asp -->
<div id="dropdownMenuCSS"><!-- CSS menu if js off -->
<button onclick="dropdownMenuFunction();" class="brand inlineBlock padding" id="dropdownMenuButton">☰ Menu</button>
<div id="dropdownMenu" class="dropdownMenuContent shadow bg2 padding2 borderRadius2">
<div class="dropdownMenuWrapper">
<!--<div class="padding2">menu name</div>-->
<div class="dropdownMenuContentColumn">
<!-- menu items dublicate -->
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./main-list.html">Main</a>
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./projects-page.html">Projects</a>
<a class="countMenuItem brand borderBottomTransparent inlineBlock padding" href="./games-list.html">Games</a>
<!-- // menu items dublicate -->
</div>
</div>
</div>
</div>
<!--<hr />-->
<!-- // dropdown menu -->
<span class="countMenuItem"></span>
<span class="countMenuItem"></span>
<span class="countMenuItem"></span>
<a class="countMenuItem inlineBlock padding mClassNavUp brand" style="margin-right: var(--padding);" href="../" title="../Up">List (↑)</a>
<form class="noscriptHide inlineBlock padding" style="padding-right: 0;" method="GET" action="./site-search.html" role="search">
<!--<label for="siteSearch" class="xSmall op">search:</label>-->
<input id="siteSearch" type="search" placeholder="site search" name="q" autocomplete="off">
</form>
</nav>
</div>
</header>
<!-- // nav -->
<!--<hr>-->
<h1 class="tCenter medium h3 op normal insertIconTitle">Search (redirect)</h1>
<nav class="tCenter"><a class="ilineBlock small brand padding" href="search.html">Start</a></nav>
<div class="padding2"></div>
<!-- content -->
<main class="contentCenter">
<!-- redirect to redirect project -->
<noscript>
<a class="inlineBlock padding brand" href="https://google.com/">Google</a><br>
<!--<a class="inlineBlock padding brand" href="https://bing.com/">Bing</a><br>-->
<div class="margin2 padding2"></div>
</noscript>
<div class="wrapper">
<div class="noscriptHide">
<!--<h1 class="block op tCenter normal small padding3List margin3List">Search (redirect)</h1>-->
<div id="result">
<form id="form" method="GET" class="block" action="search.html" style="margin:0 auto;" role="search">
<!--<label id="search" class="op block xSmall"><span class="bold orange">✪</span> Search (redirect, random):</label>
<input id="input" aria-labelledby="search" type="search" name="q" autofocus="autofocus" placeholder="" autocomplete="off" spellcheck="true">-->
<label id="search" class="op block tLeft xSmall padding1PxList" for="q"><span class="bold orange">✪</span> Web search (redirect, random):</label>
<span id="printInputSearch"></span>
<div style="display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2px;">
<input type="submit" value="search" class="xSmall op">
<input type="submit" name="q2" value="l" class="xSmall op">
</div>
</form>
<style>
.hotLinks {
/*display: grid;
/*grid-template-columns: repeat(auto-fill, minmax(42px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
grid-gap: 1px;*/
/*margin: 0 auto;
justify-content: center;
align-items: center;*/
display: flex;
flex: 1 0 auto;
flex-wrap: wrap;
}
.hotLinks a {
display: inline-flex;
width: auto;
height: 30px;
justify-content: center;
align-content: center;
text-wrap: balance;
padding: .3em;
flex: 1 0 auto;
flex-wrap: wrap;
}
/*.hotLinks .tag { max-width: 100%; }*/
</style>
<div class="center noscriptHide" style="margin-top: 7px;">
<div class="wrapper tCenter small"><!--if scrollX horizontal class rm tagList)-->
<div id="hotLinks">
<div class="tagList2 hotLinks ">
<!--<span class="x-small op c" title="Commands:">com: </span>-->
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="https://google.com/" title="Google">goo</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="https://bing.com/" title="Bing">bin</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="?q=o" title="Other (random)">o</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="https://x.com/" title="X">x</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="https://www.youtube.com/" title="YouTube">y</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2 op" href="?q=t" title="Translate (random)">t</a>
</div>
</div>
</div>
</div>
<div class="padding2 margin2"></div>
<div class="wrapper">
<span id="speedDialPrint"></span>
</div>
</div>
</div>
</div>
<div class="wrapper">
<details>
<summary class="op" style="text-align: right; color: var(--c); cursor: pointer; font-size: small;"> ?</summary>
<div id="printComList"></div>
</details>
</div>
<div class="margin2 padding2"></div>
</div>
</main>
<!-- // content -->
<footer id="footer"></footer>
<script src="./js/main.js"></script>
<script src="./js/script.js"></script>
<script>
// v.1.1.3
// hot links
if (document.getElementById("q") != null){
var inputA = document.getElementById("q");
inputA.addEventListener('input', updateValueIn);
}
if (document.getElementById("q2") != null){
var inputB = document.getElementById("q2");
inputB.addEventListener('input', updateValueIn);
}
function updateValueIn(e) {
var text = encodeURIComponent(e.target.value);
var a = `
<div class="tagList2 hotLinks">
<a rel="nofollow" class="tag light2 border3 borderRadius2" href="?q=` + text + ` goo" title="Google">goo</a>
<a rel="nofollow" class="tag light2 border3 borderRadius2" href="?q=` + text + ` bin" title="Bing">bin</a>
<a class="tag light2 border3 borderRadius2" href="?q=` + text + ` o" title="Other (random)">o</a>
<a class="tag light2 border3 borderRadius2" href="?q=` + text + ` x" title="X">x</a>
<a class="tag light2 border3 borderRadius2" href="?q=` + text + ` y" title="YouTube">y</a>
<a class="tag light2 border3 borderRadius2" href="?q=` + text + ` t" title="Translate (random)">t</a>
</div>
`;
document.getElementById("hotLinks").innerHTML = a;
}
// hot links
</script>
<script src="./projects/redirects-25/script.js"></script>
</body>
</html>