forked from chaim-chv/cse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
141 lines (125 loc) · 5.28 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="search"
type="application/opensearchdescription+xml"
title="פורומים"
href="search.xml">
<title>חיפוש בפורומים החרדיים</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link href='https://fonts.googleapis.com/css?family=Assistant' rel='stylesheet'>
<link rel="stylesheet" href="index.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<style>
body {
font-family: "assistant";
}
</style>
</head>
<body style="background-image: url(back.jpg); background-attachment: fixed;">
<script
async
src="https://cse.google.com/cse.js?cx=010933123081969800903:vrvy5hwzjuu"
></script>
<div class="gcse-search"></div>
<section id="rtt" class="rotatingText">
<div class="rotatingText-content">
<p class="rotatingText-description">
...הקלד למעלה כדי לחפש ב<br>
(<a onclick="hide()">לחץ כדי להסתיר,</a>
לחץ כדי להסתיר <a onclick="okk()">לתמיד</a>)</p>
<h2 class="rotatingText-adjective">תחומים 🎓</h2>
<h2 class="rotatingText-adjective">🛠 מתמחים טופ ⚙</h2>
<h2 class="rotatingText-adjective"> 📷 מקצועות 🎻 🎙</h2>
<h2 class="rotatingText-adjective">נטפרי 🎩</h2>
<h2 class="rotatingText-adjective">🧾 אופיס 📚</h2>
<h2 class="rotatingText-adjective">📱 ימות המשיח 📞</h2>
<h2 class="rotatingText-adjective">כל הפורומים<br>!!הטכנולוגיים החרדיים</h2>
</div>
</section>
<a href="https://mitmachim.top/user/chv" target="_blank"><img src="myport.jpeg" alt="avatar"
style="border-radius: 50%; width: 50px; height: 50px; bottom: 5px; position: fixed;" /></a>
<a href="https://mitmachim.top/user/%D7%99%D7%90%D7%A0%D7%92-%D7%91%D7%95%D7%99" target="_blank"><img src="yang.jpg" alt="avatar"
style="border-radius: 50%; border: 0.1px; border-style: groove; border-color: rgba(0, 0, 0, 0.21); width: 50px; height: 50px; bottom: 5px; left: 62px; position: fixed;" /></a>
<div class="foott text-center" dir="rtl">
<h4>
נערך על ידי
<a
href="https://mitmachim.top/user/%D7%99%D7%90%D7%A0%D7%92-%D7%91%D7%95%D7%99" target="_blank"
>יאנג בוי</a
>
ועל ידי chv
<a href="https://github.com/chaim-chv" target="_blank">(גיטהב)</a><br />
האתר עדיין בסוג של בניה.. נשמח להערות!! ב<a href="https://mitmachim.top/post/138608" target="_blank">מתמחים.טופ</a>
</h4>
</div>
<script>
$(document).on('mouseenter', '.gsc-results-wrapper-visible', function() {
hide();
});
jQuery.fn.cssImportant = function(name, value) {
const $this = this;
const applyStyles = (n, v) => {
const dashedName = n.replace(/(.)([A-Z])(.)/g, (str, m1, upper, m2) => {
return m1 + "-" + upper.toLowerCase() + m2;
});
$this.each(function(){
this.style.setProperty(dashedName, v, 'important');
});
};
if(jQuery.isPlainObject(name)){
for(const [n, v] of Object.entries(name)){
applyStyles(n, v);
}
} else {
applyStyles(name, value);
}
return $this;
};
function okk() {
document.cookie = "rotar=hided";
hide();
}
function clearcook() {
document.cookie =
"rotar=delayed; expires=Thu, 01 Jan 1970 00:00:00 UTC";
document.cookie = "rotar=hided; expires=Thu, 01 Jan 1970 00:00:00 UTC";
}
function hide() {
$('.rotatingText').cssImportant("visibility", "hidden");
}
function getCookie(c_name) {
var c_value = document.cookie,
c_start = c_value.indexOf(" " + c_name + "=");
if (c_start == -1) c_start = c_value.indexOf(c_name + "=");
if (c_start == -1) {
c_value = null;
} else {
c_start = c_value.indexOf("=", c_start) + 1;
var c_end = c_value.indexOf(";", c_start);
if (c_end == -1) {
c_end = c_value.length;
}
c_value = unescape(c_value.substring(c_start, c_end));
}
return c_value;
}
$(document).ready(checkcok());
function checkcok() {
acookie = getCookie("rotar"); // check for rotar hiding cookie
if (!acookie) {
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
hide();
console.log('user is mobile device. rotating text hided.');
}
else if (window.location.href == 'https://xn----2hcbaoda6awpj3etc.tk/' || window.location.href == 'https://גוגל-בפורומים.tk/' || window.location.href == 'https://גוגל-בפורומים.tk') { (function(){$('.rotatingText').css("visibility","visible")})() }
} else {
console.log('user hide the rotar');
}
}
</script>
</body>
</html>