We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

搜尋 Mozilla 技術支援網站

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

了解更多

Google has disable the use of the api key

  • 3 回覆
  • 7 有這個問題
  • 1 次檢視
  • 最近回覆由 llamaza

more options

I've setup a google static map using the api key v3 in this site www.pequenonim.es. Problem is Firefox is giving an error message: " Google ha inhabilitado el uso del API de Google Maps para esta aplicación. La clave proporcionada no es una clave de API de Google válida, o no está autorizada para la versión 3 del API de JavaScript de Google Maps en este sitio. Si eres el propietario de esta aplicación, puedes consultar cómo se obtiene una clave válida aquí: https://developers.google.com/maps/documentation/javascript/tutorial#api_key" Something like Google has disabled the use of the API for this application. The key is not valid or is not authorized for version 3 of the api of javascript in this site.

Measurements already taken:

API v3 and API v2 enable on api code panel Reset firefox Clean cookies and cache of firefox.

Map actually works on Chrome and IE10.

I've setup a google static map using the api key v3 in this site www.pequenonim.es. Problem is Firefox is giving an error message: " Google ha inhabilitado el uso del API de Google Maps para esta aplicación. La clave proporcionada no es una clave de API de Google válida, o no está autorizada para la versión 3 del API de JavaScript de Google Maps en este sitio. Si eres el propietario de esta aplicación, puedes consultar cómo se obtiene una clave válida aquí: https://developers.google.com/maps/documentation/javascript/tutorial#api_key" Something like Google has disabled the use of the API for this application. The key is not valid or is not authorized for version 3 of the api of javascript in this site. Measurements already taken: API v3 and API v2 enable on api code panel Reset firefox Clean cookies and cache of firefox. Map actually works on Chrome and IE10.

被選擇的解決方法

Yesterday night i've change the code. I was using....

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=mykey&sensor=false"></script> <script type="text/javascript" src="http://www.map-generator.org/map/iframejs/a55a1cf0-76c6-4068-a572-2810c0a68d53?key=mykey&width=100%px&height=350px"></script>...

and I've change for a version form the developer and everything is woking now without the api key.

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

I'm starting to learn the Google Maps Api coding so i'm not pretty sure if I will have problems in the next future with these code without the key.

But thanks you very much for your support.

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

所有回覆 (3)

more options

The map works here on Linux.

You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.

Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.

You can't recover from this 'forget' unless you have a backup of the involved files.

It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

more options

Is it the map on the bottom of the main page? It works for me in Firefox 24 on Windows 7 from California.

You may want to look at the code in Firefox's source viewer, starting a few lines below id="bottom2", as there are some stray <html>, <head>, and <body> tags that suggest a template or plugin isn't fully compatible with your page.

more options

選擇的解決方法

Yesterday night i've change the code. I was using....

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=mykey&sensor=false"></script> <script type="text/javascript" src="http://www.map-generator.org/map/iframejs/a55a1cf0-76c6-4068-a572-2810c0a68d53?key=mykey&width=100%px&height=350px"></script>...

and I've change for a version form the developer and everything is woking now without the api key.

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>

I'm starting to learn the Google Maps Api coding so i'm not pretty sure if I will have problems in the next future with these code without the key.

But thanks you very much for your support.