(function (args) {
var disnone = function(ar) {
for (var i =0;i < ar.length;i++) {
- if (!ar) {
+ if (!ar[i]) {
continue;
}
ar[i].style.display = 'none';
}
}
- window.setTimeout(function() {
+ window.setInterval(function() {
+ console.log("hide advert")
disnone([
document.getElementById('sbox-window'),
document.getElementById('sbox-overlay')
+
] );
+ document.body.className = ''; // remove the overlay...
}, 200);
})();
\ No newline at end of file