為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Displaying content from Facebook.

  • 2 回覆
  • 0 有這個問題
  • 最近回覆由 cor-el

more options

I frequently want to include up to date Facebook content on a web page. For example For this I include the following for site https://claybusters.net/

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>Home</title>
    <meta name="generator" content="Serif WebPlus X8 (16,0,4,32)">
    <meta name="viewport" content="width=960">
    <link rel="stylesheet" type="text/css" href="wpscripts/wpstyles.css">
  </head>
  <body style="height:1000px;background:#ffffff;">
    <div id="divMain" style="background:transparent;margin-left:auto;margin-right:auto;position:relative;width:960px;height:1000px;">
      <img alt="" src="wpimages/wpf149b297_06.png" style="position:absolute;left:16px;top:21px;width:409px;height:258px;">
      <div style="position:absolute;left:16px;top:279px;width:409px;height:537px;">
         <iframe src="https://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/claybusters&amp;width=357&amp;height=9
00&amp;header=false&amp;colorscheme=light&amp;show_border=true&amp;show_faces=false&amp;stream=true" class="OBJ-1" style="position:absolute;left:15px;top:0px;width:357px;height:400px;"></iframe>
      </div>
    </div>
  </body>
</html>

As per the screen dumps it works fine in Google Chrome but is blank in Firefox

Any Suggestions?

Regards, Alan Dansey alan@awdansey.co.uk 01767 310163

I frequently want to include up to date Facebook content on a web page. For example For this I include the following for site https://claybusters.net/ <pre><nowiki> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Home</title> <meta name="generator" content="Serif WebPlus X8 (16,0,4,32)"> <meta name="viewport" content="width=960"> <link rel="stylesheet" type="text/css" href="wpscripts/wpstyles.css"> </head> <body style="height:1000px;background:#ffffff;"> <div id="divMain" style="background:transparent;margin-left:auto;margin-right:auto;position:relative;width:960px;height:1000px;"> <img alt="" src="wpimages/wpf149b297_06.png" style="position:absolute;left:16px;top:21px;width:409px;height:258px;"> <div style="position:absolute;left:16px;top:279px;width:409px;height:537px;"> <iframe src="https://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/claybusters&amp;width=357&amp;height=9 00&amp;header=false&amp;colorscheme=light&amp;show_border=true&amp;show_faces=false&amp;stream=true" class="OBJ-1" style="position:absolute;left:15px;top:0px;width:357px;height:400px;"></iframe> </div> </div> </body> </html></nowiki></pre> As per the screen dumps it works fine in Google Chrome but is blank in Firefox Any Suggestions? Regards, Alan Dansey alan@awdansey.co.uk 01767 310163
附加的畫面擷圖

由 cor-el 於 修改

所有回覆 (2)

more options

As a test, being on that site, click the Shield icon in the address bar and turn off Enhanced tracking protection.

有幫助嗎?

more options

Yes, Enhanced Tracking Protection is blocking Facebook content as you can see in the Web Console. Disabling ETP via the shield in the address bar makes this Facebook content appear.

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題