Update and clean up HTML files, upgrade structure

This commit is contained in:
2023-09-27 12:41:04 +03:00
parent fbd0d50c1e
commit aa6fa84d2d
8 changed files with 133 additions and 60 deletions
+35 -33
View File
@@ -1,35 +1,37 @@
<head>
<title>Click to Download</title>
<link rel="icon" type="image/x-icon" href="/images/favicon.png">
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="darkreader-lock">
<script>
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
document.querySelector('html').onclick = function() {
document.title = 'Downloading...';
var video=document.getElementById('myVideo');
video.style.cursor = 'default';
video.play();
video.addEventListener('ended', function() {
document.title = 'Download complete!';
sleep(3000);
window.location.replace('http://youtube.com/endermanch');
});
}
</script>
<style>
video {
cursor: pointer;
}
</style>
</head>
<meta name="Author" content="Endermanch">
<meta name="Keywords" content="fast-dl, fast, download, cdn, delivery, files">
<meta name="Description" content="A free and blazing fast download service.">
<video nocontrols id="myVideo" height=100% width=100%>
<source src="/media/download.mp4" type="video/mp4">
</video>
<meta property="og:type" content="website">
<meta property="og:title" content="Click Here to Download">
<meta property="og:description" content="Downloading is an extremely important aspect of your life. A free, functioning and blazing fast download service is necessary.">
<meta property="og:url" content="https://fast-dl.cc">
<meta property="og:image" content="http://fast-dl.cc/images/download.png">
<meta property="og:image:secure_url" content="https://fast-dl.cc/images/download.png">
<meta property="og:image:width" content="256">
<meta property="og:image:height" content="256">
<meta property="og:image:alt" content="Download">
<title>Click to Download</title>
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href="/styles/styles.css" type="text/css" />
</head>
<body>
<div>
<video class="fullscreen" id="player" disablePictureInPicture>
<source src="/media/download.mp4" type="video/mp4">
</video>
</div>
</body>
</html>