9951 explained code solutions for 126 technologies


chrome-extensionGet cookie value


chrome.cookies.get({"url": 'https://example.org', "name": 'test'}, function(cookie) {
  console.log(cookie.value);
});ctrl + c
chrome.cookies

API to manipulate cookies

example.org

domain to get cookies for

test

name of a cookie to get value for

console.log(cookie.value)

do something with this cookie value