I am completely puzzled and discouraged. There is the following problem on a website: Google AdSense banners are not showing up in Internet Explorer until the browser is somehow interacted with.

I have checked it on four completely different computers and the problem looks the same: the ads are not showing at all, until you do one of the following:

  • resize the window, or
  • press "alt" button on the keyboard, or
  • open up the console (F12)

In other words, the ads show up right in their right place after I somehow interact with the browser window. And that is happening in Internet Explorer 11! On four totally different computers.

I can't wrap my mind about it. Does anybody have any kind of idea what this might be?

有帮助吗?

解决方案

I've finally found the solution. It was indeed a "ie-compatibility" issue, yet not obvious and not that easy to find.

Probably some wordpress plugin added the following line to the header:

<meta http-equiv="X-UA-Compatible" content="IE=7"/>


I changed it to

<meta http-equiv="X-UA-Compatible" content="IE=8"/>

And it worked. Why do I say it was not easy to find? Well, I played a lot with compatibility settings in the IE browser and nothing worked. And again the way the bug represented itself would never make me think that such line was responsible.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top