grp*_*cMe 5 javascript jquery google-chrome geolocation
自从我使用navigator.geolocation.getCurrentPosition(如下)制作我的网站以来,控制台中出现错误。我意识到这会在未来的某个时候引起问题,而且由于我只是在玩网络开发,所以我并没有那么担心,但它现在已经完全搞砸了我的小天气应用程序(http:/ /conn3cted.uk.tn/weather.html),因为我似乎无法在 chrome 中使用此功能(它在 firefox 中有效)。我现在另外得到的错误Only secure origins are allowed. 是我能做些什么来解决这个问题吗?我真的不想无缘无故地花钱获得 HTTPS 证书。
getCurrentPosition() and watchPosition() are deprecated on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS.
| 归档时间: |
|
| 查看次数: |
12729 次 |
| 最近记录: |