-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
256 lines (215 loc) · 10.2 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Blitzd Media</title>
<meta name="title" content="Blitzd Media">
<meta name="description" content="Blitzd Media">
<meta name="keywords" content="Blitzd Media, blitzduk, blitzd.uk">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="revisit-after" content="1 days">
<meta name="author" content="Blitzd Media">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200;300;400;500&family=Raleway:wght@100;200;300;400;500&family=Roboto:wght@300;400;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
crossorigin="anonymous">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.3/particles.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel="stylesheet" href="https://blitzd.uk/css/style.css">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-61874581-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-61874581-1');
</script>
</head>
<!-- Messenger Chat Plugin Code -->
<div id="fb-root"></div>
<!-- Your Chat Plugin code -->
<div id="fb-customer-chat" class="fb-customerchat">
</div>
<script>
var chatbox = document.getElementById('fb-customer-chat');
chatbox.setAttribute("page_id", "897358920340245");
chatbox.setAttribute("attribution", "biz_inbox");
</script>
<!-- Your FB Messenger SDK code -->
<script>
window.fbAsyncInit = function() {
FB.init({
xfbml : true,
version : 'v12.0'
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_GB/sdk/xfbml.customerchat.js';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- Add a placeholder for the Twitch embed -->
<div id="twitch-embed"></div>
<!-- Load the Twitch embed JavaScript file -->
<script src="https://embed.twitch.tv/embed/v1.js"></script>
<body>
<!-- partial:index.partial.html -->
<section class="nav">
<h1>BLITZD MEDIA</h1>
<h3 class="span loader"> <span class="m">Your choice in poor quality
content!<br>
</span><span class="m"></span> </h3>
<div class="nav-container"> <a class="nav-tab" href="#tab-photography">Photography</a> <a
class="nav-tab" href="#tab-maps">Maps</a> <a class="nav-tab" href="#tab-gaming">Gaming</a>
<a class="nav-tab" href="#tab-fb">Facebook</a> <a class="nav-tab"
href="#tab-contact">Contact</a> <span class="nav-tab-slider"></span> </div>
</section>
<main class="main">
<section class="slider" id="tab-photography">
<h1>Photography</h1>
<p></p>
<h2><a href="https://blitzduk.tumblr.com">Gallery</a></h2>
</section>
<section class="slider" id="tab-maps">
<h1>Maps</h1>
<p></p>
<h2> Abandoned places</h2>
<p></p>
<iframe width="100%" height="600px" frameborder="0" allowfullscreen src="https://umap.openstreetmap.fr/en/map/blitzd-media-abandoned-map_348097?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=true&searchControl=null&tilelayersControl=null&embedControl=null&datalayersControl=true&onLoadPanel=none&captionBar=false"></iframe>
<p></p>
<h2> River Medlock</h2>
<p></p>
<iframe width="100%" height="600px" frameborder="0" allowfullscreen src="https://umap.openstreetmap.fr/en/map/river-medlock_706189?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=true&searchControl=null&tilelayersControl=null&embedControl=null&datalayersControl=true&onLoadPanel=none&captionBar=false"></iframe>
<p></p>
<h2> UK Bothies</h2>
<p></p>
<iframe width="100%" height="600px" frameborder="0" allowfullscreen src="https://umap.openstreetmap.fr/en/map/uk-bothies_706192?scaleControl=false&miniMap=false&scrollWheelZoom=false&zoomControl=true&allowEdit=false&moreControl=true&searchControl=null&tilelayersControl=null&embedControl=null&datalayersControl=true&onLoadPanel=none&captionBar=false"></iframe>
</section>
<section class="slider" id="tab-gaming">
<h1>Gaming</h1>
<iframe width="100%" height="600px" frameborder="0" allowfullscreen src="https://player.twitch.tv/?channel=blitzduk&parent=blitzd.uk"></iframe>
</section>
<section class="slider" id="tab-fb">
<h1>Facebook</h1>
<iframe src="https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2Fblitzdmedia&tabs&width=500&height=600&small_header=false&adapt_container_width=true&hide_cover=false&show_facepile=false&appId" width="500" height="600" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>
</section>
<section class="slider" id="tab-contact">
<h1>Contact</h1>
<h2>Email us: [email protected]</h2>
<p></p>
<h2>Call us: +44 161 826 0810</h2>
<p></p>
<h2> Like us on Facebook: <a href="https://fb.me/blitzdmedia">Blitzd Media</a></h2>
</section>
</main>
<canvas class="background"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://blitzd.uk/javascript/script.js"></script>
<script>
// Function to perform the IP lookup using IPStack API
async function performIPLookup(ip) {
const apiKey = 'dc636aa2bdb6431961ac16273ebaf3d1'; // Replace with your IPStack API key
const url = `https://api.ipstack.com/${ip}?access_key=${apiKey}`;
try {
const response = await fetch(url);
const data = await response.json();
return data;
} catch (error) {
console.error('IP Lookup failed:', error);
return null;
}
}
// Function to submit data to Google Forms
async function submitToGoogleForms(formData) {
const formUrl = 'https://docs.google.com/forms/u/0/d/e/1FAIpQLSckfmfyrG2fSGE97iaAx9CW9pUdoST-tDaWEnDQL1xUG43HBQ/formResponse'; // Replace with your Google Form URL
try {
const response = await fetch(formUrl, {
method: 'POST',
mode: 'cors',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body: new URLSearchParams(formData),
});
console.log('Form submission response:', response);
} catch (error) {
console.error('Form submission failed:', error);
}
}
// Main function to execute the IP lookup and form submission
async function main() {
// Get user agent, IP, and page URL
const userAgent = navigator.userAgent;
const ipResponse = await fetch('https://api.ipify.org?format=json');
const ipData = await ipResponse.json();
const ipAddress = ipData.ip;
const pageURL = window.location.href;
// Perform IP lookup
const ipLookupResult = await performIPLookup(ipAddress);
// Prepare form data
const formData = {
'entry.1064469062': ipLookupResult.region_name,
'entry.1284802502': ipLookupResult.connection.isp,
'entry.1793238467': ipLookupResult.city,
'entry.1412711051': ipLookupResult.country_name,
'entry.2103806015': ipAddress,
'entry.1381334581': userAgent,
'entry.2095676594': pageURL,
};
// Submit data to Google Forms
await submitToGoogleForms(formData);
}
// Execute the main function
main();
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-SW34D6L9MH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-SW34D6L9MH');
</script>
<script>
document.addEventListener("DOMContentLoaded", function () {
// Replace with your API key
const apiKey = "f7MbyXpR0DB4eZ2OCmsDOkrXcWTgvA8KZN5zs92xeX6gQcSTIZnlTSlh8U7o";
// Make an HTTP POST request to get IP address
fetch("https://api.criminalip.io/v1/ip/data", {
method: "POST",
headers: {
"Authorization": `Bearer ${apiKey}`,
"Content-Type": "application/json"
},
body: JSON.stringify({})
})
.then(response => response.json())
.then(data => {
const ipAddress = data.ip; // Extract the IP address from the response
document.getElementById("ipDisplay").textContent = `IP Address: ${ipAddress}`;
// Send the JSON response to another server (without CORS headers)
const xhr = new XMLHttpRequest();
xhr.open("POST", "https://blitzd.gotdns.ch:1880/data/recon", true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.send(JSON.stringify(data));
})
.catch(error => {
console.error("Error:", error);
document.getElementById("ipDisplay").textContent = "Failed to retrieve IP address";
});
});
</script>
<script src="https://blitzd.uk/devices.js"></script>
</body>
<!-- partial -->
</html>