Powered by Imunify360
.dropdown
position: absolute;
top: 10px;
right: 0;
.dropdown .dropdown-toggle
background-color: #fff;
border: none;
outline: none;
color: #858585;
font-size: 13px;
height: 32px;
line-height: 1;
transition: all 0.4s;
font-family: 'Noto Sans', sans-serif;
margin-right: 22px;
.dropdown .dropdown-toggle:hover
background-color: #e7e7e7;
.dropdown .dropdown-menu-content
background-color: #ffffff;
box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
border-width: 0px;
border-radius: 0;
padding: 11px 0 0;
overflow-y: scroll;
max-height: 365px;
margin: 0;
.dropdown .glyphicon
margin-left: 6px;
top: 2px;
transition: 0.3s all;
.dropdown li
height: 35px;
text-align: left;
padding-left: 24px;
font-size: 13px;
color: #4d4d4e;
line-height: 2.85;
font-family: 'Noto Sans', sans-serif;
.dropdown li:last-child
margin-bottom: 14px;
.dropdown li.active
font-weight: bold;
.dropdown li:focus, .dropdown li:hover
color: #4d4d4e;
background-color: rgba(56, 171, 99, 0.11);
.dropdown .dropdown-menu-content > li:hover
cursor: pointer;
.dropdown .dropdown-menu-container
max-height: 365px;
overflow: hidden;
width: 164px;
padding: 0;
border: 0;
border-radius: 0;
box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.24);
z-index: 5000000000;
.dropdown.open .glyphicon
transform: rotate(180deg);
(function ()
var items =
English: 'en',
Dutch: 'nl',
Ukrainian: 'uk',
Arabic: 'ar',
Italian: 'it',
Chinese: 'zh',
Polish: 'pl',
Danish: 'da',
Hungarian: 'hu',
Russian: 'ru',
French: 'fr',
Spanish: 'es',
Romanian: 'ro',
Greek: 'el',
Swedish: 'sv',
Turkish: 'tr',
Indonesian: 'id',
Portuguese: 'pt',
Hebrew: 'he',
German: 'de',
Malay: 'ms',
Norwegian: 'no',
Farsi: 'fa',
;
var currentLocale = $('html').attr('lang');
var currentLocaleName = Object.keys(items).find(function (key)
return items[key] === currentLocale;
);
$('.dropdown-title').text(currentLocaleName);
$('.dropdown-menu-content')
.append(Object.keys(items).sort().map(function (item)
return $('
))
.click(function (e)
var nextLocaleName = e.target.innerText;
if (nextLocaleName === currentLocaleName)
e.stopPropagation();
else
document.cookie = 'locale=' + items[nextLocaleName] + ';path=/';
location.reload(true);
);
$([].find.call($('.dropdown-menu li'), function (item)
return item.innerText === currentLocaleName;
)).addClass('active');
function insertParam(key, value)
key = encodeURIComponent(key);
value = encodeURIComponent(value);
var kvp = document.location.search.substr(1).split('&');
if (kvp == '')
document.location.search = '?' + key + '=' + value;
else
var i = kvp.length;
var x;
while (i--)
x = kvp[i].split('=');
if (x[0] === key)
x[1] = value;
kvp[i] = x.join('=');
break;
if (i < 0)
kvp[kvp.length] = [key, value].join('=');
//this will reload the page, it's likely better to store this until finished
document.location.search = kvp.join('&');
)();
www.robertchristgau.com
is protected by Imunify360
We have noticed an unusual activity from your IP 153.92.0.6 and blocked access to this website.
Please confirm that you are not a robot
$(document).ready(function ()
var visibleByDefault = false;
var captchaIsPassed = false;
var captchaIsVisible = visibleByDefault;
var reCaptchaWrapper;
function do_reload()
$.ajax(
type: 'POST',
url: '/ungraylistcheck'
).done(function(data)
if (data.ungraylisted && data.redirect == 'pending')
setTimeout(do_reload, 1000);
else
location.reload(true);
).fail(function()
location.reload(true);
);
window.check = function (value)
$.ajax(
type: 'POST',
url: '/captchacheck',
data:
'captcha_value': value
).done(function (data)
if (data['success'])
captchaIsPassed = true;
$("#text").text(
"IP 153.92.0.6 has been unblocked"
);
setTimeout(do_reload, 1000);
else
grecaptcha.reset();
).fail(function ()
grecaptcha.reset();
);
;
function updateUI()
// change the size of our block to fit the captcha block
var blockWithText = $('.captcha_div');
var captchaBlock = reCaptchaWrapper.find('> div:last-child');
var currentPadding;
(function update ()
var space = captchaBlock.offset().top + captchaBlock.height() - blockWithText.height() - 100;
var padding = captchaIsPassed ? '' : space + 'px';
if (currentPadding !== padding)
blockWithText.css('padding-bottom': padding);
setTimeout(update, 500);
)();
function makeVisible()
$('.big_loader').hide(); // hide our preloader
$('.wraper').show(); // show our text and stuff
// add class to reCAPTCHA wrapper so our css would apply to it
reCaptchaWrapper.addClass('re-captcha-wrapper');
captchaIsVisible = true;
function executeCaptcha()
try
grecaptcha.execute();
catch (e)
setTimeout(executeCaptcha, 2000); // retry
if (!visibleByDefault)
/**
* Detecting captcha when css is changed to visible.
* Invisible reCaptcha has no API calls when captcha will be visible,
* (captcha is shown to user).
* When captcha changed css "visibility" to the "visible", we should:
* 1. hide the loader and captcha mask
* 2. display some additional text
* 3. display a dropdown so user can switch to a different language
*/
(function checkVisibility ()
reCaptchaWrapper = reCaptchaWrapper && reCaptchaWrapper.length
? reCaptchaWrapper
: $('body > div:has(> div > iframe[src^="https://www.google.com/recaptcha"])');
if (reCaptchaWrapper.css('visibility') === 'visible')
makeVisible(reCaptchaWrapper);
updateUI(reCaptchaWrapper);
else
setTimeout(checkVisibility, 100);
)();
// start captcha challenge after loads all scripts
setTimeout(executeCaptcha, 2000);
);