StartGames,
<script>
$(function() {
function getCookie(syslike) {
let matches = document.cookie.match(new RegExp(
"(?:^|; )" + syslike.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
));
return matches ? decodeURIComponent(matches[1]) : undefined;
}
$(document).on('click', '#syslike', function() {
var syslike = getCookie('syslike');
if (syslike.indexOf('Y55Y') > -1) {
alert('есть')
} else {
alert('нет')
}
});
});
</script>