redirect gone but so is the page content.
This commit is contained in:
parent
8281714021
commit
3372a464ef
|
@ -9,7 +9,15 @@
|
||||||
console.log("Copyright *my code only, anything that is not my code is published and copyrighted by their respective owners* Wesley Bryie, 2021.");
|
console.log("Copyright *my code only, anything that is not my code is published and copyrighted by their respective owners* Wesley Bryie, 2021.");
|
||||||
console.log("This website was designed and published to https://wesbryie.cf/. If you see it on a domain that is not wesbryie.cf please contact me at wesleybryie@protonmail.com.");
|
console.log("This website was designed and published to https://wesbryie.cf/. If you see it on a domain that is not wesbryie.cf please contact me at wesleybryie@protonmail.com.");
|
||||||
|
|
||||||
if (window.location.hostname = "beta.wesbryie.cf") {
|
function getDomainName(hostName)
|
||||||
|
{
|
||||||
|
return hostName.substring(hostName.lastIndexOf(".", hostName.lastIndexOf(".") - 1) + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
getDomainName();
|
||||||
|
|
||||||
|
function isDomainCorrect() {
|
||||||
|
if (getDomainName("wesbryie.cf")) {
|
||||||
console.log("This websites javascript code says that it is correct.");
|
console.log("This websites javascript code says that it is correct.");
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
@ -18,3 +26,4 @@ else {
|
||||||
console.log("I SEE YOU.");
|
console.log("I SEE YOU.");
|
||||||
stop();
|
stop();
|
||||||
}
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue