PageSourceSearch

https://www.templepurohit.com/wp-content/cache/autoptimize/js/auto…_single_6e9ddb7a9bbab4faeb6b0ea241c35dd1.js

js templepurohit.com collected 2026-09-24 09:26:14 UTC 1,298 bytes, 8 lines download raw bytes

1function getLocation(){if(navigator.geolocation){navigator.geolocation.getCurrentPosition(showPosition,showError);}else{alert('Geolocation is not supported by this browser.');}}
2function showPosition(position){var x=document.getElementById("demo");var longitude=position.coords.longitude;var latitude=position.coords.latitude;var timestamp=position.timestamp;var tz=jstz.determine();var timezone=tz.name();jQuery.ajax({type:'POST',url:WPP_pluginUrl+'/wp-panchangam-geolocation.php',data:{'latitude':latitude,'longitude':longitude,'timestamp':timestamp,'timezone':timezone},success:function(){if(WPP_geolocated==0){document.cookie="wpp_geolocation=true";document.cookie="wpp_longitude="+longitude;document.cookie="wpp_latitude="+latitude;document.cookie="wpp_timestamp="+timestamp;document.cookie="wpp_timezone="+timezone;}}})}
3function showError(error){var x=document.getElementById("demo");switch(error.code){case error.PERMISSION_DENIED:x.innerHTML="User denied the request for Geolocation."
4break;case error.POSITION_UNAVAILABLE:x.innerHTML="Location information is unavailable."
5break;case error.TIMEOUT:x.innerHTML="The request to get user location timed out."
6break;case error.UNKNOWN_ERROR:x.innerHTML="An unknown error occurred."
7break;}}
8jQuery(document).ready(function(){getLocation();});

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.