Will my weather API not work?

Will my weather API not work?


So my Weather api (<— click that) is something iv been working on for a long time. I noticed this today in the console when looking for errors.

pen.js:275 [Deprecation] getCurrentPosition and watchPosition usage in cross-origin iframes is deprecated and will be disabled in M63, around December 2017. To continue to use this feature, it must be enabled by the embedding document
using Feature Policy, e.g. <iframe allow="geolocation" ...>. See https://goo.gl/EuHzyv  for more details.

Should i be worried? I used the provided code by FCC which is…

if (navigator.geolocation) {
  navigator.geolocation.getCurrentPosition(function(position) {
    $("#data").html("latitude: " + position.coords.latitude + "<br>longitude: " + position.coords.longitude);


Will it still work?


It is a Codepen issue, because they use iframes to display your pens within their site. Surely someone at Codepen is working on a solution to implement by the December 2017 deprecation date.


If its working now why would it suddenly break? Hopefully they can fix it by without me needing to change my code.