Trying to create conditional to block running ad code on all "prevent ads" templates

Status
This content is read-only, or is not open for further replies.

bzcomputers

Guest
offline
Looking to surround the main Adsense async script with a conditional to allow it to only run if the current template is not included in the the list of "Prevent ads showing in these templates". Currently the way XenForo addresses blocking ads in certain templates does not prevent Adsense "Auto Ads" from showing in these templates. The main Adsense javascript, which is typically referenced outside of any specific ad code block, is the only Adsense code that is required for "Auto Ads" to...

Read more

Continue reading...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom