(function (args) {
var disnone = function(ar) {
for (var i =0;i < ar.length;i++) {
+ if (!ar[i]) {
+ continue;
+ }
ar[i].style.display = 'none';
}
}
-
- disnone([document.getElementById('sbox-window'),document.getElementById('sbox-overlay')] )
-
+ 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