(function() {
var el = document.getElementById('ad-7980362093');
var pushed = false;
function pushAd() {
if (pushed || !el || el.offsetWidth === 0) return;
pushed = true;
(adsbygoogle = window.adsbygoogle || []).push({});
}
// 广告进入视口附近才加载(解决宽度为0 + 提升页面速度)
if ('IntersectionObserver' in window) {
var io = new IntersectionObserver(function(entries) {
if (entries[0].isIntersecting) { pushAd(); io.disconnect(); }
}, { rootMargin: '200px 0px' });
io.observe(el);
} else {
window.addEventListener('load', pushAd);
}
})();