Доброчанька 09/09/2022 (Fri) 21:45 No.48 del

function getCookies() {

var parsedCookies = {};

var cookies = document.cookie.split(';');

for (var i = 0; i < cookies.length; i++) {

var cookie = cookies[i];

var parts = cookie.split('=');
parsedCookies[parts.shift().trim()] = decodeURI(parts.join('='));

}

return parsedCookies;

Message too long. Click here to view full text.