Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Developer-07 authored Oct 1, 2023
1 parent 5e3d24f commit 77b84e7
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions academy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,7 @@
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script>
function loadFile(filePath) {
var result = null;
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", filePath, false);
xmlhttp.send();
if (xmlhttp.status == 200) {
result = xmlhttp.responseText;
}
return result;
}


function conti() {

url = loadFile('../url.txt');


fetch(url, { mode: 'no-cors' }).then(r => {

window.location.href = url + "/academy/;


})
.catch(e => {
window.location.href = 'error.html';
});

function UrlExists(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
http.send();
if (http.status != 404)
return true;
else
return false;
}

}
window.location.href = "https://artim.ddns.net/redirect/?additions=k:academy%7Ca:f,hotlink";



Expand Down

0 comments on commit 77b84e7

Please sign in to comment.