PageSourceSearch

https://www.youthfully.com/wp-content/cache/min/1/wp-content/plugi…/if-so-geolocation-public.js?ver=1791050077

js youthfully.com collected 2026-10-06 16:43:46 UTC 1,337 bytes, 8 lines download raw bytes

1(function($){$(document).ready(function(){checkForLocationRequests();document.addEventListener('ifso_ajax_content_loaded',checkForLocationRequests)})
2function checkForLocationRequests(){if(typeof(ifso_scope.getCookie)==='undefined')return;var getLocationTags=$('IfsoGetBrowserLocation');if(getLocationTags.length>0){for(tag of getLocationTags){if(tag.getAttribute('ignore_cache')==='true'||(!hasAnyOverrideData())){getBrowserGeolocation();return}}}
3if(ifso_scope.getCookie(requestBrowserLocCookieName)!==null&&!hasAnyOverrideData()){getBrowserGeolocation();ifso_scope.createCookie(requestBrowserLocCookieName,'',-1);return}}
4function getBrowserGeolocation(){if(navigator.geolocation){navigator.geolocation.getCurrentPosition(rememberPosition)}}
5function hasAnyOverrideData(){return(hasGeoOverrideData(geoOverrideCookieName)||hasGeoOverrideData(browserLocationCookieName))}
6function hasGeoOverrideData(cname){if(ifso_scope.getCookie(cname)){try{var geoOverrideObj=JSON.parse(ifso_scope.getCookie(cname));return!0}catch{return!1}}
7return!1}
8function rememberPosition(position){var coordsString=position.coords.latitude+','+position.coords.longitude;var geoObject={lat:position.coords.latitude,long:position.coords.longitude};ifso_scope.createCookie(browserLocationCookieName,JSON.stringify(geoObject),0);window.location.reload()}})(jQuery)

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.