Open g-viet opened 3 years ago
function getCookieValue(name) { let result = document.cookie.match("(^|[^;]+)\\s*" + name + "\\s*=\\s*([^;]+)") return result ? result.pop() : "" }
https://coderrocketfuel.com/article/how-to-create-read-update-and-delete-cookies-in-javascript
https://coderrocketfuel.com/article/how-to-create-read-update-and-delete-cookies-in-javascript