Skip to content

Commit

Permalink
add popup msg
Browse files Browse the repository at this point in the history
  • Loading branch information
gracehuynhh committed Mar 6, 2024
1 parent 2aaabc4 commit 2d17dbb
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions new.html
Original file line number Diff line number Diff line change
Expand Up @@ -808,15 +808,15 @@


</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-13W40NB229"
type="43f92c5823e95dd824ade679-text/javascript"></script>
<script type="43f92c5823e95dd824ade679-text/javascript">
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-13W40NB229');
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JNV0GPHRDL"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-JNV0GPHRDL');
</script>
</head>

<body>
Expand Down Expand Up @@ -939,21 +939,21 @@
console.log("no show ads");
hideAds();
}


}

function hideAds() {
document.getElementById("ads").style.display = "none";
}
function showPreRoll() {
// Show ad
adBreak({
type: 'preroll',
adBreakDone: hideAds, // always called, unblocks the game logic
});
}
// Show ad
adBreak({
type: 'preroll',
adBreakDone: hideAds, // always called, unblocks the game logic

});
}


</script>
Expand Down

0 comments on commit 2d17dbb

Please sign in to comment.