Remove ads from public view
parent
7f6343bdc8
commit
6205cba586
|
@ -39,23 +39,6 @@
|
||||||
</script>
|
</script>
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<c:if test="${requestScope['google.analytics.enabled']}">
|
|
||||||
<!-- Google Ads Sense Config. Lazy loading optimization -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
function downloadJsAtOnload() {
|
|
||||||
setTimeout(function downloadJs() {
|
|
||||||
var element = document.createElement("script");
|
|
||||||
element.setAttribute("data-ad-client", "ca-pub-4996113942657337");
|
|
||||||
element.async = true;
|
|
||||||
element.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
|
|
||||||
document.body.appendChild(element);
|
|
||||||
}, 50);
|
|
||||||
};
|
|
||||||
|
|
||||||
window.addEventListener("load", downloadJsAtOnload, false);
|
|
||||||
</script>
|
|
||||||
</c:if>
|
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
Loading…
Reference in New Issue