X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

More iframe issues; now with Google Maps. Has this been addressed?

Размещено

I received an e-mail with an embedded Google Maps snapshot. Underneath is a link "Click for larger map". A Firefox window opens with this message: "The Google Maps Embed API must be used in an iframe." The rest of the page is blank.

Is this another settings issue regarding iframes, or is this a feature that has been ended?

Using Firefox 68.0.2 (64-bit) on a Dell OptiPlex 5060 running Windows 10 Pro (64 bit).

Thanks.

I received an e-mail with an embedded Google Maps snapshot. Underneath is a link "Click for larger map". A Firefox window opens with this message: "The Google Maps Embed API must be used in an iframe." The rest of the page is blank. Is this another settings issue regarding iframes, or is this a feature that has been ended? Using Firefox 68.0.2 (64-bit) on a Dell OptiPlex 5060 running Windows 10 Pro (64 bit). Thanks.
Цитата

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 32.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Дополнительная информация

jscher2000
  • Top 10 Contributor
8632 решений 70597 ответов
Размещено

Hi ed9213, does the link work better in other browsers? If so, are they resolving/redirecting to the same URL in the new window/tab?

Hi ed9213, does the link work better in other browsers? If so, are they resolving/redirecting to the same URL in the new window/tab?
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

Jscherr2000,

I bit the bullet and temporarily made Microsoft Edge my default browser. When going to the same site and clicking the same link, “The Google Maps Embed API must be used in an iframe.” is the message produced.

Does that help?

Thanks. Ed9213

Jscherr2000, I bit the bullet and temporarily made Microsoft Edge my default browser. When going to the same site and clicking the same link, “The Google Maps Embed API must be used in an iframe.” is the message produced. Does that help? Thanks. Ed9213
Помогла ли вам это?
Цитата
jscher2000
  • Top 10 Contributor
8632 решений 70597 ответов
Размещено

Hi Ed9213, if it's not a top secret location, do you want to the URL of the page with the error? Maybe the person sharing the link made a mistake and the link only works for them...

Hi Ed9213, if it's not a top secret location, do you want to the URL of the page with the error? Maybe the person sharing the link made a mistake and the link only works for them...
Помогла ли вам это?
Цитата
Размещено

Задавший вопрос

It is, actually, a secure URL so I can't post it or pass it along. I'm not sure I even have the access to address the webmaster. I thought it was a browser issue at my end. If it isn't, I'll probably have to figure out who has the path to the right people to correct it. Thanks.

It is, actually, a secure URL so I can't post it or pass it along. I'm not sure I even have the access to address the webmaster. I thought it was a browser issue at my end. If it isn't, I'll probably have to figure out who has the path to the right people to correct it. Thanks.
Помогла ли вам это?
Цитата
cor-el
  • Top 10 Contributor
  • Moderator
17407 решений 157258 ответов
Размещено

You can try to force to open the link in an iframe with code in the Web Console.

var loc=location.href;
var uri='data:text/html;charset=utf-8;base64,';
ifr='<html><head><title>[IFRAME]</title></head><body height="100%"><iframe id="iframe" src="'+loc+'" height="95%" width="100%"></iframe></body></html>';
location.href=uri+btoa(ifr);
You can try to force to open the link in an iframe with code in the Web Console. <pre><nowiki>var loc=location.href; var uri='data:text/html;charset=utf-8;base64,'; ifr='<html><head><title>[IFRAME]</title></head><body height="100%"><iframe id="iframe" src="'+loc+'" height="95%" width="100%"></iframe></body></html>'; location.href=uri+btoa(ifr);</nowiki></pre>

Изменено cor-el

Помогла ли вам это?
Цитата
Задать вопрос

Для ответа на сообщения вы должны войти в свою учётную запись. Пожалуйста, задайте новый вопрос, если у вас ещё нет учётной записи.