function wassup_get_screenres(){
var screen_res = screen.width + " x " + screen.height;
if(screen_res==" x ") screen_res=window.screen.width+" x "+window.screen.height;
if(screen_res==" x ") screen_res=screen.availWidth+" x "+screen.availHeight;
if (screen_res!=" x "){document.cookie = "wassup_screen_reseab4fc0be4742f089e47962cbb71592b=" + encodeURIComponent(screen_res)+ "; path=/; domain=" + document.domain;}
}
wassup_get_screenres();
So we are implementing a new section on our blog, called “Mini Reviews”, where we will briefly give our opinion about onaholes we tried and that we don’t plan to write a complete review on. Make sure to check it out!
document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() );
(function() {
var dropdown = document.getElementById( "cat" );
function onCatChange() {
if ( dropdown.options[ dropdown.selectedIndex ].value > 0 ) {
dropdown.parentNode.submit();
}
}
dropdown.onchange = onCatChange;
})();
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://statistics.onahole.eu/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
var ticking = false;
function lazyLoad() {
var images = document.querySelectorAll('.lazyload');
if (!images.length) window.removeEventListener("scroll", scrollHandler);
for (var i=0, nb=images.length ; i <nb ; i++) {
var img = images[i]
var rect = img.getBoundingClientRect();
var isVisible = ((rect.top - window.innerHeight) < 500 && (rect.bottom) > -50 ) ? true : false ;if (isVisible) {
if (!img.src) {
img.src = img.dataset.src;
img.classList.remove('lazyload');
}
}
}
}function scrollHandler() {
if (ticking) return;
window.requestAnimationFrame(function() {
lazyLoad();
ticking = false
});
ticking = true;
}window.addEventListener("DOMContentLoaded", function() { lazyLoad() });
window.addEventListener("scroll", scrollHandler);