add new detect message
This commit is contained in:
parent
f23fdc21e9
commit
bfeb34499a
|
|
@ -1,3 +1,15 @@
|
|||
// warning
|
||||
|
||||
console.log("Woah there!");
|
||||
console.log(" ");
|
||||
console.log("Be careful what you type or copy in this here javascript console.");
|
||||
console.log("Don't copy and paste some javascript code from a random person on the internet.");
|
||||
console.log("It can be an account token stealer, which can get that random person into your account.");
|
||||
console.log("Be safe, and be smart.");
|
||||
console.log(" ");
|
||||
console.log("If you know what you're doing, have fun then!");
|
||||
console.log(" ");
|
||||
|
||||
// Detect if user is on an older domain that isn't recommended.
|
||||
|
||||
function addWarning() {
|
||||
|
|
@ -7,15 +19,9 @@ function addWarning() {
|
|||
document.body.appendChild(alertDiv);
|
||||
}
|
||||
|
||||
if (window.document.location.hostname == "archblox.com") {} else {
|
||||
if (window.document.location.hostname == "archblox.com") {
|
||||
console.log("User is on " + window.document.location.hostname + ". Known URL.");
|
||||
} else {
|
||||
console.log("User is on " + window.document.location.hostname + ". Unknown URL.");
|
||||
addWarning();
|
||||
}
|
||||
|
||||
console.log("Woah there!");
|
||||
console.log(" ");
|
||||
console.log("Be careful what you type or copy in this here javascript console.");
|
||||
console.log("Don't copy and paste some javascript code from a random person on the internet.");
|
||||
console.log("It can be an account token stealer, which can get that random person into your account.");
|
||||
console.log("Be safe, and be smart.");
|
||||
console.log(" ");
|
||||
console.log("If you know what you're doing, have fun then!");
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
// warning
|
||||
console.log("Woah there, admin!");
|
||||
console.log(" ");
|
||||
console.log("Be careful what you type or copy in this here javascript console.");
|
||||
console.log("Don't copy and paste some javascript code from a random person on the internet, especially if it's not from a developer you trust.");
|
||||
console.log("It can be an account token stealer, which can get that random person into your account... and access to the entire admin panel.");
|
||||
console.log("Be safe, and be smart.");
|
||||
console.log(" ");
|
||||
console.log("If you know what you're doing, go ahead!");
|
||||
console.log(" ");
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
// warning
|
||||
console.log("Woah there!");
|
||||
console.log(" ");
|
||||
console.log("Be careful what you type or copy in this here javascript console.");
|
||||
console.log("Don't copy and paste some javascript code from a random person on the internet.");
|
||||
console.log("It can be an account token stealer, which can get that random person into your account.");
|
||||
console.log("Be safe, and be smart.");
|
||||
console.log(" ");
|
||||
console.log("If you know what you're doing, have fun then!");
|
||||
console.log(" ");
|
||||
|
|
@ -18,6 +18,7 @@
|
|||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||
<link href="/css/NewAdminCSS.css" rel="stylesheet">
|
||||
<script src="{{ asset('js/detect_iphone.js') }}" defer></script>
|
||||
</head>
|
||||
|
||||
<body class="NewPanel">
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
<meta name="viewport" content="width=device-width, viewport-fit=cover, initial-scale=1">
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}">
|
||||
<link href="{{ asset('css/app.css?id=e5Az527Gb1') }}" rel="stylesheet">
|
||||
<script src="{{ asset('js/detect_small.js') }}" defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Reference in New Issue