Unable to load google in iframe in fancybox

前端 未结 1 1885
悲哀的现实
悲哀的现实 2020-11-28 16:28

My iframe works fine with my internal pages however it fails when I set the source url to Google.

Here is my code, i\'m using version 2 (latest)

<         


        
相关标签:
1条回答
  • 2020-11-28 17:13

    It is not a fancybox issue. Google doesn't like to be contained within iframes anymore due to changes in their adSense program policies.

    AdSense code may not be altered, nor may the standard behavior, targeting or delivery of ads be manipulated in any way that is not explicitly permitted by Google. This includes but is not limited to the following: clicking Google ads may not result in a new browser window being launched, nor may Google ads be placed in an IFRAME..

    0 讨论(0)
提交回复
热议问题