AntiAdblock
拯救站点广告
更多项目:js.cool
启用了Adblock
请先关闭Adblock刷新页面继续
未启用Adblock
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ( function (window, document) { var test = document.createElement( 'div' ); test.innerHTML = ' ' ; test.className = 'adsbox' ; document.body.appendChild(test); window.setTimeout( function () { if (test.offsetHeight === 0) { // 启用 Adblock } else { // 未启用 Adblock } test.remove(); }, 100); })( this , this .document); |