commit
34ffde2c2d
1
404.html
1
404.html
|
@ -1,6 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="en" prefix="og: https://ogp.me/ns#">
|
||||
<head>
|
||||
<!-- Copyright *my code only, anything that is not my code is published and copyrighted by their respective owners* Wesley Bryie, 2021.-->
|
||||
<meta property="og:title" content="Wes Bryie's Site" />
|
||||
<meta property="og:description"
|
||||
content="This website holds information about me." />
|
||||
<!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
|
@ -47,8 +50,6 @@
|
|||
<p>I am a teenager that is interested in technology, and computer science (more so the software development part)!</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bootstrap core JS-->
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HTWD2BNXJ6"></script>
|
||||
<script>
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
|
||||
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.")
|
||||
};
|
||||
|
||||
startCheck();
|
||||
|
||||
var firstDot = window.location.hostname.indexOf('.');
|
||||
var tld = ".cf";
|
||||
var isSubdomain = firstDot < window.location.hostname.indexOf(tld);
|
||||
|
@ -11,12 +18,14 @@ else {
|
|||
}
|
||||
|
||||
function isDomainCorrect() {
|
||||
if (domain = "wesbryie") {
|
||||
if (domain = "wesbryie" + tld) {
|
||||
console.log("Thank you for using wesbryie.cf.");
|
||||
}
|
||||
|
||||
else {
|
||||
console.log("why uh, why ya doin that? why ya taking my code?");
|
||||
close();
|
||||
stop();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Copyright *my code only, not the bootstrap parts* Wesley Bryie, 2021.-->
|
||||
<!-- Copyright *my code only, not the bootstrap parts* under the GNU GPL Licence. Wesley Bryie, 2021.-->
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
||||
<meta name="description" content="" />
|
||||
|
@ -53,8 +53,6 @@
|
|||
</details>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bootstrap core JS-->
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
<!-- Core theme JS-->
|
||||
<script src="js/scripts.js"></script>
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
|
|
Loading…
Reference in New Issue