PageSourceSearch

https://1spotmedia.com/assets/theme/rjr/js/factories/geolocation.js?v=3.31

js 1spotmedia.com collected 2026-09-24 12:45:57 UTC 951 bytes, 27 lines download raw bytes

1rjrApp.service("GeoService", function($q, $http) {
2    this.getLocationData = function() {
3        return $http.get('https://pro.ip-api.com/json/?key=B8SeokcRbtPnera').then(function(data) {
4            var remappedJSON = {
5                as: '',
6                city: data.data.city,
7                country: data.data.country,
8                countryCode: data.data.countryCode,
9                isp: '',
10                lat: null,
11                lon: null,
12                org: '',
13                query: data.data.query,
14                region: '',
15                regionName: data.data.regionName,
16                status: 'success',
17                timezone: '',
18                zip: data.data.zip
19            };
20            return remappedJSON;
21        }).catch(function(err) {
22            console.error("GeoService: getLocationData : error Catch", err);
23            return { countryCode: null, error: 'geo_unavailable' };
24        })
25
26    };
27});

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.