setCookie(key,value) -getCookie(key) -removeCookie(key) -isExistCookie(key) - ?
Source: https://habr.com/ru/post/29376/