Add popunder ads based on file size

This commit is contained in:
2021-06-14 14:56:04 +02:00
parent d1fb97c9b9
commit 8817e7cb16
4 changed files with 34 additions and 16 deletions

View File

@@ -113,7 +113,20 @@
</script>
{{ end }}
{{ if eq .Other.AdUnderType 1}}
{{ if eq .Other.AdPopupType 1 }}
<script data-cfasync="false" type="text/javascript" async src="//depirsmandk5.com/t/9/fret/meow4/1846775/brt.js"></script>
{{ else if eq .Other.AdPopupType 2 }}
<script>
window.addEventListener("load", () => {
(function(s,u,z,p){
s.src=u,s.setAttribute('data-zone',z),p.appendChild(s);
})(
document.createElement('script'),
'https://iclickcdn.com/tag.min.js',
3750089,
document.body||document.documentElement,
)
})
</script>
{{ end }}
{{ end }}