Javascript 带有https、SSL、安全URL的Jquery存储定位器插件:不适用于自定义域名

Javascript 带有https、SSL、安全URL的Jquery存储定位器插件:不适用于自定义域名,javascript,jquery,ssl,Javascript,Jquery,Ssl,Jquery商店定位器插件 地图插件在我使用网络托管服务器的安全url时工作,但在我使用自己域名的安全url时不工作 Map does not load for: https://mydomain.ext/mapstuff/default-location-example.html Map does load via the server name url: https://secureservername.com/~myusername/mapstuff/default-location-e

Jquery商店定位器插件

地图插件在我使用网络托管服务器的安全url时工作,但在我使用自己域名的安全url时不工作

Map does not load for:
https://mydomain.ext/mapstuff/default-location-example.html

Map does load via the server name url:
https://secureservername.com/~myusername/mapstuff/default-location-example.html

这就是现在浏览器处理跨站点jquery调用的方式吗?域被视为一个掩码,因此不可信,而Jquery Store Locator Plugin等应用程序会自动停用吗?除了使用主机的安全服务器名称url之外,对于我们这些租用网站主机的人来说,有没有解决这个问题的方法?

找到了解决方案:插件现在可以在url上工作,也可以不使用HTTPS。

我在html示例中忽略了这一行:

<script src="https://maps.google.com/maps/api/js"></script>

I needed to fill that out with an API key from Google Maps API:

<script src="https://maps.google.com/maps/api/js?key=MY_API_KEY_HERE"></script>

我需要用Google Maps API中的API键来填写: