החבר'ה ב-Viper's Lair כנראה שמעו שסוף סוף יש לנו פה אינטרנט בכבלים, ובכדאי למנוע את הבעיות שהיו לאנשים עם השיתוף אינטרנט כאשר הגיע ה-ADSL הם ישבו וכתבו בשבילנו מדריך נחמד עם תמונות על איך לשתף אינטרנט בין מחשבים בעזרת WinXP.
if (('false' === 'false' && hw_is_mobile) || ('true' === 'false' && !hw_is_mobile)) {
document.querySelector('#div-hwad-970x250-35704').remove();
} else {
window.googletag = window.googletag || {cmd: []};
window.adslots = window.adslots || {};
googletag.cmd.push(function() {
const adslot_35704 = googletag.defineSlot('/23571088/HWzone/970x250', [970, 250], `div-hwad-970x250-35704`);
if (adslot_35704) {
adslot_35704.setTargeting('test', 'infinitescroll')
adslot_35704.addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().setRequestNonPersonalizedAds(0);
googletag.enableServices();
const options = {
rootMargin: '0px',
threshold: 0.5
};
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
observer.unobserve(entry.target);
googletag.display(entry.target.id);
console.log({
adslotid: '35704',
name: '970x250',
mobile: 'false',
desktop: 'true',
width: '970',
height: '250'
});
}
});
}, options);
if (document.querySelector('#div-hwad-970x250-35704').getBoundingClientRect().top < window.innerHeight) {
observer.unobserve(document.querySelector('#div-hwad-970x250-35704'));
googletag.display(`div-hwad-970x250-35704`);
console.log({
adslotid: '35704',
name: '970x250',
mobile: 'false',
desktop: 'true',
width: '970',
height: '250'
});
} else {
observer.observe(document.querySelector('#div-hwad-970x250-35704'));
}
} else {
console.log('no adslot_35704');
}
});
}


