Is it possible to get php or JavaScript a listing of all cookie domains stored in the user's browser?
Is it possible to get php or JavaScript a listing of all cookie domains stored in the user's browser?
Your question is vague, have not you even tried to get us to help you based on something?
In any case, this might help you to get the cookies
of the page.
function obter_cookies() {
var cookies = { };
if (document.cookie && document.cookie != '') {
var split = document.cookie.split(';');
for (var i = 0; i < split.length; i++) {
var name_value = split[i].split("=");
name_value[0] = name_value[0].replace(/^ /, '');
cookies[decodeURIComponent(name_value[0])] = decodeURIComponent(name_value[1]);
}
}
return cookies;
}