Skip to content

Commit

Permalink
adsbexchange stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Oct 25, 2020
1 parent 5ca47c7 commit 69adc7e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions html/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,15 @@ function initialize() {
}, 1000);
}
setInterval(function(){$.ajax({url:'data/receiver.json',cache:false,});}, 180000);
setTimeout(function() {
if (typeof adsbygoogle == 'undefined') {
try {
document.getElementById('adsense').style.display='none';
} catch (error) {
console.log(error);
}
}
}, 7000);
}

mapOrientation *= (Math.PI/180); // adjust to radians
Expand Down

0 comments on commit 69adc7e

Please sign in to comment.