-
Notifications
You must be signed in to change notification settings - Fork 18
/
servers.html
137 lines (128 loc) · 4.51 KB
/
servers.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
---
title: Servers
layout: null
---
<!DOCTYPE html>
<html lang="en">
<head>
<title>SABnzbd Servers</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="/js/jquery-3.6.0.min.js"></script>
<style>
body {
padding: 0;
margin: 0;
font-size: 14px;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
background-color: transparent;
}
.main-well {
padding: 7px 7px 4px;
border: 1px solid #e3e3e3;
background-color: #F5F5F5;
}
.lang {
display: none;
}
p {
margin: 0px 0px 6px;
}
a {
color: black !important;
font-weight: bold;
}
</style>
</head>
<body>
<div class="main-well">
<div class="lang lang-en">
<p>
<strong>Tip:</strong><br>
You can support the development of SABnzbd <em>and</em> get access to a great deal from our partner!
</p>
<p>
Official Newshosting Promo: <a href="{{ site.ad_link }}&chan=cfs" target="_blank">Get 70% Off plus 3 MONTHS FREE</a>.
</p>
</div>
<div class="lang lang-nl">
<p>
<strong>Tip:</strong><br>
U kunt de ontwikkeling van SABnzbd ondersteunen <em>en</em> profiteren van een geweldige aanbieding van onze partner!
</p>
<p>
Officiële Newshosting Promo: <a href="{{ site.ad_link }}&chan=cfs" target="_blank">Krijg 70% korting plus 3 MAANDEN GRATIS</a>.
</p>
</div>
<div class="lang lang-de">
<p>
<strong>Tipp:</strong><br>
Sie können die Entwicklung von SABnzbd unterstützen <em>und</em> von einem großartigen Angebot unseres Partners profitieren!
</p>
<p>
Offizielles Newshosting-Angebot: <a href="{{ site.ad_link }}&chan=cfs" target="_blank">Erhalten Sie 70 % Rabatt plus 3 MONATE KOSTENLOS</a>.
</p>
</div>
<div class="lang lang-fr">
<p>
<strong>Tip:</strong><br>
Vous pouvez soutenir le développement de SABnzbd <em>et</em> bénéficier d'une offre exceptionnelle de notre partenaire !
</p>
<p>
Promotion officielle Newshosting: <a href="{{ site.ad_link }}&chan=cfs" target="_blank">profitez de 70 % de réduction et de 3 MOIS GRATUITS</a>.
</p>
</div>
</div>
<script type="text/javascript">
// Google Analytics
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75649-16', 'auto');
ga('send', 'pageview');
// Add tracking to outbound links
$(document.links)
.attr('target', '_blank')
.click(function() {
// Actual tracking code, while the page loads in new tab
var theUrl = this.href
ga('send', 'event', 'outbound', 'click', theUrl, {
'transport': 'beacon'
});
});
// Hostnames we don't want to show anything for
var post_message = 'show_server';
var all_hostnames = [
"newshosting.com",
"eweka.nl",
"tweaknews.eu",
"pureusenet.nl",
"xlned.com",
"sunnyusenet.com",
"usenetserver.com",
"easynews.com",
]
for (const hostname_key in all_hostnames) {
if(document.location.hash.includes(all_hostnames[hostname_key])) {
// Stop SABnzbd from loading
post_message = 'hide_server'
break;
}
}
window.parent.postMessage(post_message, document.referrer);
// Fetch installer-language
var lang = document.location.hash.replace('#', '').substring(0,2)
// No language detected?
if(!lang) {
lang = 'en'
}
if($('.lang-' + lang).length) {
// Specific
$('.lang-' + lang).show()
} else {
// English
$('.lang-en').show()
}
</script>
</body>
</html>