Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

Bug when combine Facebook like iFrame and Google Adsense

  • 9 trả lời
  • 180 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi Mazzz

more options

Work fine in IE8, Chrome, Safari, Opera. Not work on FF

When trying to combine in the same page google adsense code and facebook like button iframe code, the google adsense ads show inside (take the iframe of) the litle iFrame of facebook button like, and the space for google ads is blank.

It's a new bug!

''Work fine in IE8, Chrome, Safari, Opera. Not work on FF'' When trying to combine in the same page google adsense code and facebook like button iframe code, the google adsense ads show inside (take the iframe of) the litle iFrame of facebook button like, and the space for google ads is blank. It's a new bug!

Tất cả các câu trả lời (9)

more options

Hi, same problem, except that the AdSense block is first and it is replaced with a copy of the Facebook iFrame. I have just tested in Windows and Linux, the bug occurs only in Firefox 3.6.x, Firefox 3.5.x is fine. This might be an iFrame or JS problem.

more options

The bug affects other websites too. Try this on firefox 3.6.10 (i tested it on 3.6.3 and its ok)

<iframe src="http://reader.google.com"></iframe>

result: blank screen

more options

No problems here:

data:text/html;charset=utf-8,<iframe%20src="http://reader.google.com"%20height="100%"%20width="100%"></iframe>
more options

I have the same problem (¬¬) So if you set network.http.use-cache option as value=false, then works fine (inside firefox about:config). But that is not the solution for the final user, only for devel environment.

more options

Same problem here! I've tried tons of things but no way, it just doesn't work. Terexa you are soooo Right!

more options

hi,

a solution that is working for me: just add a blank iframe (same size as the ads) UNDER the ads. Use a negative margin to put the ADS over the blank iframe.

exemple with 160x600 skyscraper:

< div id="conteiner">

< !-- BLANK IFRAME UNDER ADS -->

< div style="float: left;display:table-cell;padding:0px;margin:0px;">

<iframe id="blank_iframe" name="blank_iframe" src="" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:160px; height:600px;" allowTransparency="true"></iframe>

</div>

< !-- skyscraper 160x600 ADS -->

< div style="float: left;padding:0px;margin:0px;margin-left:-160px;">

<script type="text/javascript">
 ...google ads code
</script>
</div>

</div>

Được chỉnh sửa bởi cor-el vào

more options

I have the same problem with iframes and only on Firefox.

Facebook widgets render in my iframes sometimes my iframes in theirs

Also one time I sow that www.addthis.com service was rendered in my iframe

really need some help with this.

more options

Same problem with FB and youtube... Works fine in IE8. There's somehow a cache issue because when I replace the embedded youtube video, the previous one still appears twice. Clearing the cache won't fix it though.

I've just seen on the bugtracker site the bug is over 4 years old. You can also fix it with ctrl-F5 but then again it's not what we need.

https://bugzilla.mozilla.org/show_bug.cgi?id=356558

Được chỉnh sửa bởi dagaz11 vào

more options

I was having all kinds of problems with the FB like button and various iframes in FF.

I solved it by adding an empty iframe <iframe></iframe> directly before my fb-like div.