A;adido Wotlk Futura Implementacion y Varios arreglos en js
This commit is contained in:
@@ -1,31 +1,6 @@
|
||||
{% if request.session.username %}
|
||||
<div class="main-page">
|
||||
<div class="middle-content">
|
||||
<script>
|
||||
function checkAdBlocker() {
|
||||
let adBlockerDetected = false;
|
||||
|
||||
const testAdURL = "https://ultimowow.com/es/nw-js-handlers/openad.js";
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", testAdURL, false);
|
||||
try {
|
||||
xhr.send();
|
||||
if (xhr.status === 0) {
|
||||
adBlockerDetected = true;
|
||||
}
|
||||
} catch (e) {
|
||||
adBlockerDetected = true;
|
||||
}
|
||||
|
||||
return adBlockerDetected;
|
||||
}
|
||||
|
||||
if (checkAdBlocker()) {
|
||||
console.log("Ad blocker detectado");
|
||||
} else {
|
||||
console.log("No se detectó un ad blocker");
|
||||
}
|
||||
</script>
|
||||
<div class="body-content">
|
||||
<div class="title-content"><h1>Creación de cuenta</h1></div>
|
||||
<div class="box-content" id="focus" tabindex="1">
|
||||
@@ -58,31 +33,6 @@
|
||||
{% else %}
|
||||
<div class="main-page">
|
||||
<div class="middle-content">
|
||||
<script>
|
||||
function checkAdBlocker() {
|
||||
let adBlockerDetected = false;
|
||||
|
||||
const testAdURL = "https://ultimowow.com/es/nw-js-handlers/openad.js";
|
||||
const xhr = new XMLHttpRequest();
|
||||
xhr.open("GET", testAdURL, false);
|
||||
try {
|
||||
xhr.send();
|
||||
if (xhr.status === 0) {
|
||||
adBlockerDetected = true;
|
||||
}
|
||||
} catch (e) {
|
||||
adBlockerDetected = true;
|
||||
}
|
||||
|
||||
return adBlockerDetected;
|
||||
}
|
||||
|
||||
if (checkAdBlocker()) {
|
||||
console.log("Ad blocker detectado");
|
||||
} else {
|
||||
console.log("No se detectó un ad blocker");
|
||||
}
|
||||
</script>
|
||||
<div class="body-content">
|
||||
<div class="title-content"><h1>Creación de cuenta</h1></div>
|
||||
<div class="box-content" id="focus" tabindex="1">
|
||||
@@ -106,6 +56,7 @@
|
||||
<div class="body-box-content centered">
|
||||
<form action="" method="POST" id="nw-create-form" accept-charset="utf-8">
|
||||
<table class="middle-center-table">
|
||||
<script src="{{ URL_PRINCIPAL }}/static/nw-themes/nw-ryu/nw-js-handlers/register.js"></script>
|
||||
<tbody><tr>
|
||||
<td><input type="text" maxlength="17" name="username" id="username" placeholder="Nombre de usuario"></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user