为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Google map iframes not displaying in FF 99.0.1

  • 7 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 woolwit

more options

MacOS Monterey 12.3.1 FF 99.0.1 Have tried clearing Cache, Cookies, Troubleshoot mode.

Google Maps > Search > Share > Embed a Map, the map to be embedded is not displayed (likewise when embed is pasted into Wordpress page, for example)

While same procedure in Safari or Brave works as expected (map to be embedded is displayed in Google maps and embed code displays map in webpage using Brave or Safari).

From the Google Maps page > share > Embed a map > right click This Frame > Open in new tab And then looking in the Console. There are a few other ignored errors but then this...

Loading failed for the <script> with source “https://maps.googleapis.com/maps/api/js?client=google-maps-embed&paint_origin=&libraries=geometry,search&v=3.exp&language=en&region=us&callback=onApiLoad”.

MacOS Monterey 12.3.1 FF 99.0.1 Have tried clearing Cache, Cookies, Troubleshoot mode. Google Maps > Search > Share > Embed a Map, the map to be embedded is not displayed (likewise when embed is pasted into Wordpress page, for example) While same procedure in Safari or Brave works as expected (map to be embedded is displayed in Google maps and embed code displays map in webpage using Brave or Safari). From the Google Maps page > share > Embed a map > right click This Frame > Open in new tab And then looking in the Console. There are a few other ignored errors but then this... Loading failed for the <script> with source “https://maps.googleapis.com/maps/api/js?client=google-maps-embed&paint_origin=&libraries=geometry,search&v=3.exp&language=en&region=us&callback=onApiLoad”.
已附加屏幕截图

由woolwit于修改

被采纳的解决方案

My bad... I just discovered that I'd created a Little Snitch rule that blocked Firefox's access to googleapis.com Sorry! Hope at least this someday helps someone else. And thanks for your help!!

定位到答案原位置 👍 0

所有回复 (7)

more options

Does it work if you open the frame in a new tab ? Did you check the Web Console for possible related messages?


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

Firefox shows a purple shield instead of a gray shield at the left end of the location/address bar in case Enhanced Tracking Protection is blocking content. You can click the shield icon for more detail and possibly disable the protection. You can check the Web Console for relevant-looking messages about blocked content.

由cor-el于修改

more options

The map won't display in the frame > new tab. The console error message that seems most relevant in that tab (others are being ignored) is...

Loading failed for the <script> with source “https://maps.googleapis.com/maps/api/js?client=google-maps-embed&paint_origin=&libraries=geometry,search&v=3.exp&language=en_US&region=us&callback=onApiLoad”.

Enhanced Tracking Protection is OFF for this site. Padlock is gray, says Connection is secure. I have Addons set to update automatically and previously booted in Troubleshooting mode. uBlock Origin is Off for this site (Google).

Thanks!

more options

Just to confirm same behavior in FF 100.0 (Troubleshoot mode). Is anyone else able to confirm they ARE seeing a map image in the... Google Maps > Santa Monica Pier (for example) > Share > Embed a map iframe?

由woolwit于修改

more options

This is really frustrating. Now with FF 100.0.2 Google maps not loading on any sites including Google. All add-ons have been disabled by safe mode.

more options

No problems here to load the Google map, either via a direct URL or via an iframe or open the embed in a new tab.

more options

Boot the computer in Windows Safe mode with network support to see if that has effect in case security software is causing problems.

more options

选择的解决方案

My bad... I just discovered that I'd created a Little Snitch rule that blocked Firefox's access to googleapis.com Sorry! Hope at least this someday helps someone else. And thanks for your help!!