Самая короткая строка для получения кук на javascript

var thisCookie = document.cookie.match(/(?: |^)getThisCookie=(.*?)(;|$)/)[1];

Leave a Reply

Your email address will not be published. Required fields are marked *


*