Allowed HTTP referers for API key when using Maps API v3 inside Chrome Extension

158 views
Skip to first unread message

Michael Diener

unread,
Nov 22, 2011, 10:44:29 AM11/22/11
to google-map...@googlegroups.com
Hi,

I'm using the Maps API v3 inside a Chrome extension, Firefox add-on and a Windows Sidebar Gadget. I'm pretty sure that the following does not send an HTTP referer as the web page is loaded locally:

Which referer should I use instead or should I not limit the HTTP referers in that case?

Regards,
Michael

Michael Diener

unread,
Nov 30, 2011, 11:09:24 AM11/30/11
to Google Maps JavaScript API v3
For the Chrome extension it appears that the referrer is something
like:
chrome-extension://xxx/background.html

For the sidebar and the Firefox add-on the HTTP referer still seems
empty and I wonder how I can add this to the referer filter.

/Michael

On 22 Nov., 16:44, Michael Diener <mdie...@mdiener.de> wrote:
> Hi,
>
> I'm using the Maps API v3 inside a Chrome extension, Firefox add-on and a
> Windows Sidebar Gadget. I'm pretty sure that the following does not send an
> HTTP referer as the web page is loaded locally:
> <script type="text/javascript"

> src="http://maps.googleapis.com/maps/api/js?v=3.8&sensor=true&language=es&...>

Reply all
Reply to author
Forward
0 new messages