Skycade Reset Counter
How do I make an skycade reset counter?
What is a skycade reset counter? How do you make a skycade reset counter? This script and codes were developed by Leo on 05 January 2023, Thursday.
Skycade Reset Counter - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Skycade Reset Counter</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <span id="container"><a href="javascript:requestNotifications()">Get notifications in this browser?</a></span><br> Skycade will reset in
<div id="countdown">Loading...</div>
<div id="pc">You need JavaScript for this BTW</div><div id="players"></div>
<img id="icon"></img><div id="purge"></div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Skycade Reset Counter - Script Codes CSS Codes
@import url('https://fonts.googleapis.com/css?family=Varela+Round');
body { text-align: center; color: #fff; background-color: #000; font-family: "Varela Round","Product Sans","Roboto","Caviar Dreams","Alsina","Open Sans","Futura","Segoe UI", "Century Gothic", "Arial", sans-serif;
}
a { color: #fff; text-decoration: none;
}
#pc { font-size: 200%;
}
#countdown { font-size: 500%;
}
#icon { position: absolute; width: 100vw; height: 100vw; top: -25vw; left: 0; z-index: 1; filter: blur(2vw); opacity: 0.2;
}
body { overflow: hidden;
}
#purge { opacity: 0.4; background: #f00; width: 100%; height: 100%; position: fixed; left: 0; top: 0;
}
#container * { z-index: 5;
}
Skycade Reset Counter - Script Codes JS Codes
var countDownDate = new Date("Sep 16, 2017 15:00:00").getTime();
// Update the count down every 1 second
var x = setInterval(function() { // Get todays date and time var now = new Date().getTime(); // Find the distance between now an the count down date var distance = countDownDate - now; // Time calculations for days, hours, minutes and seconds var days = Math.floor(distance / (1000 * 60 * 60 * 24)); var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); var seconds = Math.floor((distance % (1000 * 60)) / 1000); // Output the result in an element with id="demo" document.getElementById("countdown").innerHTML = days + "d " + hours + "h " + minutes + "m " + seconds + "s "; if (hours < 19) { document.getElementById("purge").style.display = "inline-block"; } else { document.getElementById("purge").style.display = "none"; } if (minutes == 0) { if (seconds == 0) { var notification = new Notification(hours + " hours until Skycade resets."); } } // If the count down is over, write some text if (distance < 0) { clearInterval(x); document.getElementById("counddown").innerHTML = "Reset!"; }
}, 1000);
function requestNotifications() { // Let's check if the browser supports notifications if (!("Notification" in window)) { alert("This browser does not support system notifications"); } // Let's check whether notification permissions have already been granted else if (Notification.permission === "granted") { // If it's okay let's create a notification var notification = new Notification("Hello again! Notifications are on but, you still need to keep the site open in a tab."); } // Otherwise, we need to ask the user for permission else if (Notification.permission !== 'denied') { Notification.requestPermission(function (permission) { // If the user accepts, let's create a notification if (permission === "granted") { var notification = new Notification("Hello! Thanks for turning on notifications. You still need to keep the site open in a tab though."); } else { alert("You didn't allow notifications"); } }); } // Finally, if the user has denied notifications and you // want to be respectful there is no need to bother them any more.
}
function ping() { $.getJSON("https://api.minetools.eu/ping/play.skycade.net/25565", function(json){ document.getElementById("pc").innerHTML = "There's " + (json.players.online) + " people on Skycade right now!"; document.getElementById("icon").src = json.favicon });
}
ping();
setInterval(ping, 5000);
Developer | Leo |
Username | theLMGN |
Uploaded | January 05, 2023 |
Rating | 3 |
Size | 3,124 Kb |
Views | 10,120 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Game Start Page | 2,287 Kb |
Pause Based Volume Slider | 2,319 Kb |
L O A D I N G . . . | 2,528 Kb |
DJ5K | 5,458 Kb |
File64 | 3,515 Kb |
Vivaldi Ad Slider | 2,026 Kb |
Play shop joke | 2,339 Kb |
A Pen by Leo | 4,909 Kb |
Websocket Box Test | 2,518 Kb |
Testing BootStrap | 1,518 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Welcome | Nakome | 6,076 Kb |
Ionic - Wordpress REST API starter | Superpikar | 2,961 Kb |
Improve | Gavra | 1,652 Kb |
Em Test | Rodesco | 1,784 Kb |
Slide like Mailbox | Hmps | 3,758 Kb |
Testing Portfolio Page | Sideshowli | 3,395 Kb |
Lunar eclipse | Ademilter | 2,056 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
A Pen by Kevin | Kevinkenger | 2,642 Kb |
Faces SVG animation | ScavengerFrontend | 2,957 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!