PageSourceSearch

https://www.rhs.org.uk/assets/csjs/thirdparty/onetrust/geolocation.js?v=10001

js rhs.org.uk collected 2026-09-24 08:34:49 UTC 901 bytes, 20 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function() {           
2    window.geofeed = function (options) {
3        // string two digit continent code EU, NA, OC, AS, SA, AF
4        var continent = options.continent.toString();
5        // string two digit ISO country code
6        var country = options.country.toString();
7        // string two digit state code
8        var state = options.state.toString();
9
10        if (continent == 'EU' && options.country != 'GB') {
11            var footerCookieLink = document.getElementById("footerCookieLink");
12            footerCookieLink.setAttribute("href","/privacy/eu-cookies");
13        }
14    };
15
16    // Call geo-location JSONP service
17    var jsonp = document.createElement('script');
18    jsonp.setAttribute('src', 'https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location/geofeed');
19    document.head.appendChild(jsonp);
20});

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.