Commit ae9796e0 authored by Dominik Hebeler's avatar Dominik Hebeler

Bot Protection wieder angeschaltet

parent d2915d7e
$(document).ready(function () {
createCustomFocuses()
var focus = $('#foki > li.active > a').attr('aria-controls')
var custom = $('#foki > li.active').hasClass('custom-focus-tab-selector')
getDocumentReadyForUse(focus, custom)
createCustomFocuses();
var focus = $('#foki > li.active > a').attr('aria-controls');
var custom = $('#foki > li.active').hasClass('custom-focus-tab-selector');
getDocumentReadyForUse(focus, custom);
botProtection();
})
function tabs () {
......@@ -31,18 +32,18 @@ function tabs () {
}
function getDocumentReadyForUse (fokus, custom = false) {
clickLog()
popovers()
if (fokus === 'bilder') imageLoader()
if (custom) initialLoadContent(fokus)
clickLog();
popovers();
if (fokus === 'bilder') imageLoader();
if (custom) initialLoadContent(fokus);
// pagination()
tabs()
theme()
fokiChanger()
pluginInfo()
productWidget()
$('iframe:not(.resized)').iFrameResize()
$('iframe').addClass('resized')
tabs();
theme();
fokiChanger();
pluginInfo();
productWidget();
$('iframe:not(.resized)').iFrameResize();
$('iframe').addClass('resized');
}
function pluginInfo () {
......@@ -85,6 +86,14 @@ function clickLog () {
})
}
function botProtection() {
if ($("meta[name=pqr]").length > 0) {
var link = atob($("meta[name=pqr]").attr("content"));
var hash = $("meta[name=pq]").attr("content");
document.location.href = link + "&bot=" + hash;
}
}
function popovers () {
$('[data-toggle=popover]').each(function (e) {
$(this).popover('destroy')
......
{
"js/editLanguage.js": "js/editLanguage-1ce447084a.js",
"js/kontakt.js": "js/kontakt-9365c46d5a.js",
"js/scriptResultPage.js": "js/scriptResultPage-c6b34cc3ab.js",
"js/scriptResultPage.js": "js/scriptResultPage-fb8443e82a.js",
"js/scriptStartPage.js": "js/scriptStartPage-5e21fefbc8.js",
"js/settings.js": "js/settings-0af8170dff.js",
"js/widgets.js": "js/widgets-40195be855.js"
......
$(document).ready(function() {
botProtection();
});
function botProtection() {
if ($("meta[name=pqr]").length > 0) {
var link = atob($("meta[name=pqr]").attr("content"));
var hash = $("meta[name=pq]").attr("content");
document.location.href = link + "&bot=" + hash;
}
}
\ No newline at end of file
$(document).ready(function () {
createCustomFocuses()
var focus = $('#foki > li.active > a').attr('aria-controls')
var custom = $('#foki > li.active').hasClass('custom-focus-tab-selector')
getDocumentReadyForUse(focus, custom)
createCustomFocuses();
var focus = $('#foki > li.active > a').attr('aria-controls');
var custom = $('#foki > li.active').hasClass('custom-focus-tab-selector');
getDocumentReadyForUse(focus, custom);
botProtection();
})
function tabs () {
......@@ -31,18 +32,18 @@ function tabs () {
}
function getDocumentReadyForUse (fokus, custom = false) {
clickLog()
popovers()
if (fokus === 'bilder') imageLoader()
if (custom) initialLoadContent(fokus)
clickLog();
popovers();
if (fokus === 'bilder') imageLoader();
if (custom) initialLoadContent(fokus);
// pagination()
tabs()
theme()
fokiChanger()
pluginInfo()
productWidget()
$('iframe:not(.resized)').iFrameResize()
$('iframe').addClass('resized')
tabs();
theme();
fokiChanger();
pluginInfo();
productWidget();
$('iframe:not(.resized)').iFrameResize();
$('iframe').addClass('resized');
}
function pluginInfo () {
......@@ -85,6 +86,14 @@ function clickLog () {
})
}
function botProtection() {
if ($("meta[name=pqr]").length > 0) {
var link = atob($("meta[name=pqr]").attr("content"));
var hash = $("meta[name=pq]").attr("content");
document.location.href = link + "&bot=" + hash;
}
}
function popovers () {
$('[data-toggle=popover]').each(function (e) {
$(this).popover('destroy')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment