cannot show google map in a plugin when connecting remotely via MCV servers

in my iPhoneLocator I have a tab which shows a google map and location of a phone. this works fine when logging locally to VERA. I load the googlemap javascript dynamically using one of the variants proposed by google for that. Basically adding a script node in the HTML DOM

Now when I open VERA remotely from the MCV servers, it seems that this dynamic loading script code is blocked ( maybe by MCV servers / security policies ). I get the following error message in the javascript console

[blocked] the page at ... ran insecure ocntent from ...

this is shown in the attached picture.

Any idea why this is hapening and how I could work around this ?
( full code available on [url=http://code.mios.com/trac/mios_iphone-detector/browser/tags/v1.50/iPhoneLocator]http://code.mios.com/trac/mios_iphone-detector/browser/tags/v1.50/iPhoneLocator[/url] )

Maybe set script.src = “//maps.google.com/maps…”

so it will use whichever – http or https – that was used for the page it is invoked from.

http://stackoverflow.com/questions/550038/is-it-valid-to-replace-http-with-in-a-script-src-http

watou

Maybe set script.src = “//maps.google.com/maps…”

so it will use whichever – http or https – that was used for the page it is invoked from.

http://stackoverflow.com/questions/550038/is-it-valid-to-replace-http-with-in-a-script-src-http

watou[/quote]

Brillant, apparently that was it. It works now. thank you