搜尋 Mozilla 技術支援網站

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

Learn More

Websites do not display embedded tweets

  • 4 回覆
  • 2 有這個問題
  • 678 次檢視
  • 最近回覆由 bkarlan

more options

News websites frequently embed tweets within the text. These display as blank boxes on some sites or not at all on others. Why? I already tried the safe mode and resetting embeds without success.

被選擇的解決方法

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) ?

It is possible that Twitter doesn't allow to embed tweets in an iframe via X-FRAME-OPTIONS in the HTTP response headers.

Firefox shows an highlighted shield icon at the left end of the location/address bar in case Tracking Protection is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check in the Web Console what content is blocked.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

從原來的回覆中察看解決方案 👍 0

所有回覆 (4)

more options

選擇的解決方法

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) ?

It is possible that Twitter doesn't allow to embed tweets in an iframe via X-FRAME-OPTIONS in the HTTP response headers.

Firefox shows an highlighted shield icon at the left end of the location/address bar in case Tracking Protection is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check in the Web Console what content is blocked.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

more options

On foxnews, I see "Whoops! We couldn't access this Tweet" for all embedded tweets. I've tried disabling the shield for that page and and refreshing that page, but's still there. I've gone to security and privacy and changed the settings to custom and turned off cookie protection and refreshed the page. But the problem remains.

由 bkarlan 於 修改

more options

Hi bkarlan

Did you check the Web Console to see if there is a more clear message about for what reason the tweets are blocked ?

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required) ?

more options

I'm afraid that is of no help to me. I'm not a programmer. However, it is working now for some odd reason.

https://www.foxnews.com/sports/russian-olympian-yuliya-yefimova-quarantined