PageSourceSearch

https://www.ionos-group.com/typo3temp/assets/compressed/dp_cookiec…0eaaa456621798857fc9a619.js.gzip?1790858725

js ionos-group.com collected 2026-10-02 10:51:01 UTC 1,767 bytes, 51 lines download raw bytes

1function get_cookie(name){
2    return document.cookie.split(';').some(c => {
3        return c.trim().startsWith(name + '=');
4    });
5}
6
7function delete_cookie( name, path, domain ) {
8    if (get_cookie(name)) {
9        document.cookie = name + "=" +
10            ((path) ? ";path="+path:"")+
11            ((domain)?";domain="+domain:"") +
12            ";expires=Thu, 01 Jan 1970 00:00:01 GMT";
13    }
14}
15
16var host = '.server.lan';
17
18document.addEventListener('dp--cookie-accept', function (e) {
19    // after event is fired the data is saved to the cookie
20    // we wait a bit to make sure the data is there
21    window.setTimeout(function() {
22        var dp_cookie_consent = window.DPCookieConsent.utils.getCookie('dp_cookieconsent_status');
23
24        if(dp_cookie_consent !== null && dp_cookie_consent.status === 'approved' && dp_cookie_consent.checkboxes[0].checked == false) {
25            delete_cookie('_pk_id.68.e6bb', '/', host);
26            delete_cookie('_pk_ses.68.e6bb', '/', host);
27
28            delete_cookie('s_cc', '/', host);
29            delete_cookie('s_nr', '/', host);
30            delete_cookie('s_sq', '/', host);
31            delete_cookie('s_vi', '/', host);
32            delete_cookie('s_lastvisit', '/', host);
33            delete_cookie('sc_c28', '/', host);
34            delete_cookie('sc_vs', '/', host);
35            delete_cookie('s_fid', '/', host);
36            delete_cookie('_gid', '/', host);
37        };
38
39    }, 1000);
40});
41
42document.addEventListener('dp--cookie-init', function() {
43    document.body.setAttribute("data-privacyconsent", 1);
44
45    document.getElementById('decline-cookies').addEventListener('click', function(e) {
46        e.preventDefault();
47        e.stopPropagation();
48
49        window.DPCookieConsent.forceDeny(e.target);
50    });
51});

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.