add some js
This commit is contained in:
parent
2c481e3b66
commit
8e1f328540
|
@ -1,3 +1,8 @@
|
|||
|
||||
function startCheck() {
|
||||
console.log("Starting domain check. This check makes sure that the website hosted at https://github.com/wesleybryie/wes-website/ is running on https://wesbryie.cf.")
|
||||
};
|
||||
|
||||
var firstDot = window.location.hostname.indexOf('.');
|
||||
var tld = ".cf";
|
||||
var isSubdomain = firstDot < window.location.hostname.indexOf(tld);
|
||||
|
@ -17,6 +22,8 @@ console.log("Thank you for using wesbryie.cf.");
|
|||
|
||||
else {
|
||||
console.log("why uh, why ya doin that? why ya taking my code?");
|
||||
stop();
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue