Skip to content

Instantly share code, notes, and snippets.

@abhilashsajeev
Last active November 24, 2022 10:41
Show Gist options
  • Save abhilashsajeev/669daf426404c5b7bcaf28883e3b8dd7 to your computer and use it in GitHub Desktop.
Save abhilashsajeev/669daf426404c5b7bcaf28883e3b8dd7 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Highcourt of kerala</title>
<style>
body {
background-image: url("hc.jpg");
background-color: #cccccc;
}
</style>
</head>
<body>
<script>
// https://drive.google.com/file/d/19LXm8tcp24x0fMN2WJ9FG7wRfUy_pFW2/view?usp=share_link
var intervalFn;
setTimeout(() => {
if (window.navigator.onLine) {
window.location.href =
"https://ecourts.kerala.gov.in/digicourt/Courtdisplay/smarttv1";
} else {
intervalFn = setInterval(function () {
if (window.navigator.onLine) {
window.location.href =
"https://ecourts.kerala.gov.in/digicourt/Courtdisplay/smarttv1";
clearInterval(intervalFn);
}
}, 3000);
}
}, 10000);
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment