-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
144 lines (128 loc) · 4.42 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
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
<meta name="viewport" content="width=device-width, initial-scale=0.5">
<script src="/uv/uv.bundle.js" defer></script>
<script src="/uv/uv.config.js" defer></script>
<script src="/register-sw.js" defer></script>
<script src="/search.js" defer></script>
<script src="/scripts/index.js" defer></script>
<script src="/error.js" defer></script>
<script>
function get_cookie(cookie_name) { const value = "; " + document.cookie; const parts = value.split("; " + cookie_name + "="); if (parts.length === 2) return parts.pop().split(";").shift(); }
function blank(){
(function () {var url = document.URL; var urlObj = new window.URL(window.location.href); win = window.open(); win.document.body.style.margin = "0"; win.document.body.style.height = "100vh"; var iframe = win.document.createElement("iframe"); iframe.style.border = "none"; iframe.style.width = "100%"; iframe.style.height = "100%"; iframe.style.margin = "0"; iframe.referrerpolicy = "no-referrer"; iframe.allow = "fullscreen"; iframe.src = url.toString(); win.document.body.appendChild(iframe);window.location.href="https://google.com";})();
}
</script>
<div class="title">
<h1 id="title1">Rykers web-proxy</h1>
</div>
<title>Rykers-WP-UB</title>
<form class="searchbox" id="searchbox">
<input id="searchengine" value="" type="hidden"/>
<input class="search" id="search" placeholder='type here' type='text'/>
</form>
<style>
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap");
.iframe1{
border: none;
}
.searchbox{
width:47%;
height:7%;
color: black;
position: absolute;
left:26.5%;
top:50%;
}
.search{
text-align: center;
border-radius: 18px;
outline:none;
border-radius: 18px;
background:transparent;
border: 10px solid black;
color: black;
width:100%;
height:100%;
}
.title {
position: absolute;
width: 100%;
height: 100px;
top: 19%;
left: 50%; /* Adjust left position if needed */
transform: translateX(-50%);
text-align: center;
color: black; /* Change color as needed */
font-family: arial;
font-size: 80px; /* Adjust font size as needed */
}
::placeholder {
margin: auto;
color: #FFFFFF;
font-size: 1.2em;
}
html {
background-image: url('/frog.gif');
background-color:orange;
}
.x{
position: absolute;
width:70px;
height:70px;
top:0px;
right:0px;
}
</style>
<script>
}
if (get_cookie("autoblank")=="on"){
if (window.top !== window) {
var title2=get_cookie("title2");
}
else{
blank();
}
}
var title2=get_cookie("title2");
var fontsize1=2560/screen.width*18.5;
var fontsize2=2560/screen.width*7.5;
title1.style.fontSize = fontsize1+"px";
search.style.fontSize = fontsize2+"px";
</script>
<script>
window.navigator.serviceWorker.register('./sw.js');
var title2=get_cookie("title2");
var browsertype=get_cookie("browser3");
var favicon=get_cookie("favicon");
var fontsize1=2560/screen.width*18;
var fontsize2=2560/screen.width*7.5;
title1.style.fontSize = fontsize1+"px";
search.style.fontSize = fontsize2+"px";
if (browsertype==null || browsertype==undefined || browsertype==""){
browsertype="google";
searchengine.value="https://www.google.com/search?q=";
document.cookie="browser3="+browsertype+"; expires=Thu, 18 Dec 9013 12:00:00 UTC; path=/";
}
else{
if (browsertype=="google"){
searchengine.value="https://www.google.com/search?q=%s";
}
if (browsertype=="bing"){
searchengine.value="https://www.bing.com/search?q=%s";
}
if (browsertype=="yahoo"){
searchengine.value="https://search.yahoo.com/search?p=%s";
}
document.cookie="browser3="+browsertype+"; expires=Thu, 18 Dec 9013 12:00:00 UTC; path=/";
}
</script>
<script>
function isUrl(val = '') {
if (/^http(s?):\/\//.test(val) || val.includes('.') && val.substr(0, 1) !== ' ') return true;
return false;
};
document.addEventListener("DOMContentLoaded", function() {
var searchEngine = document.getElementById("searchengine").value;
var searchInput = document.getElementById("search").value;
searchInput.value = searchEngine || "https://www.google.com/search?q=%s";
})}
</script>