I struggled with this for a while. The problem is firefox and the way to cache iframe content. This is no coincidence. Nothing to do to prevent the use of iframes.
You can reload iframes onload using something like:
var reloadIframes = function () { var a = window.frames, b = a.length while (b--) { a[b].src = a[b].src; } }
In the case of advertising, this will lead to double impressions that violate your contract.
An easy way to replicate a problem is to create 3 html files.
<html> <body> <h3>frame one</h3> </body> </html> <html> <body> <h3>frame two</h3> </body> </html> <html> <body> <iframe src="frame1.html"></iframe> <iframe src="frame2.html"></iframe> </body> </html>
Open in firefox. Then switch frame one and two frames.
<html> <body> <iframe src="frame2.html"></iframe> <iframe src="frame1.html"></iframe> </body> </html>
Update index.html. Frames will not change until you clear the cache.
There is a bug in mozilla, but currently no one is working on it.
user268068
source share