问题描述
我有一个包含多个iframe的网页,包括第三方iframe,如广告意义和各种共享按钮。在Firefox中,我注意到有时这些iframe的内容会被交换,这样您就会在另一个iframe中获得一个广告意义上的广告。 iframe内容出现的地方似乎是完全随机的。看来它可能与缓存有关。
有谁知道是什么原因造成的,或者我可以采取哪些措施来防止这种情况的发生? b $ b
如果有人在寻找,我可以追踪到这个错误报告:
已经有4年了,甚至不像他们已经证实过的那样。
I have a web page with a number of iframes, including 3rd party iframes like ad sense and various sharing buttons.
In Firefox, I've noticed that occasionally the content of these iframes get swapped, such that you'll get an ad sense ad where another iframe is. It seems completely random where iframe content shows up. It seems it may have something to do with caching.
Does anyone know what causes this, or any steps I can take to prevent this from happening?
In case anyone is looking I was able to track down the bug report:
https://bugzilla.mozilla.org/show_bug.cgi?id=356558
It's been 4 years and it doesn't even look like they have confirmed it.
这篇关于IFrame内容交换错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!