PageSourceSearch

https://mickrozaim.ru/bitrix/js/brainforce.cookies/jquery.ihavecookies.min.js?15849550352840

js mickrozaim.ru collected 2026-10-09 21:45:51 UTC 2,840 bytes, 7 lines download raw bytes

1(function($){$.fn.ihavecookies=function(options){var $element=$(this);var settings=$.extend({message:'Cookies enable you to use shopping carts and to personalize your experience on our sites, tell us which parts of our websites people have visited, help us measure the effectiveness of ads and web searches, and give us insights into user behavior so we can improve our communications and products.',link:'/privacy-policy',delay:2000,expires:30,moreInfoLabel:'More information',acceptBtnLabel:'Accept Cookies',advancedBtnLabel:'Настройка Cookies',cookieTypesTitle:'Select cookies to accept',fixedCookieTypeLabel:'Necessary',fixedCookieTypeDesc:'These are cookies that are essential for the website to work correctly.',onAccept:function(){},uncheckBoxes:!1},options);var myCookie=getCookie('cookieControl');var myCookiePrefs=getCookie('cookieControlPrefs');if(!myCookie||!myCookiePrefs){var cookieMessage='<div id="gdpr-cookie-message"><p>'+settings.message+'</p><p><button id="gdpr-cookie-accept" type="button">'+settings.acceptBtnLabel+'</button></p></div>';setTimeout(function(){$($element).append(cookieMessage);$('#gdpr-cookie-message').hide().fadeIn('slow')},settings.delay);$('body').on('click','#gdpr-cookie-accept',function(){dropCookie(!0,settings.expires);$('input[name="gdpr[]"][data-auto="on"]').prop('checked',!0);var prefs=[];$.each($('input[name="gdpr[]"]').serializeArray(),function(i,field){prefs.push(field.value)});setCookie('cookieControlPrefs',JSON.stringify(prefs),365);settings.onAccept.call(this)})}else{var cookieVal=!0;if(myCookie=='false'){cookieVal=!1}
2dropCookie(cookieVal,settings.expires)}
3if(settings.uncheckBoxes===!0){$('input[type="checkbox"].ihavecookies').prop('checked',!1)}};$.fn.ihavecookies.cookie=function(){var preferences=getCookie('cookieControlPrefs');return JSON.parse(preferences)};$.fn.ihavecookies.preference=function(cookieTypeValue){var control=getCookie('cookieControl');var preferences=getCookie('cookieControlPrefs');preferences=JSON.parse(preferences);if(control===!1){return!1}
4if(preferences===!1||preferences.indexOf(cookieTypeValue)===-1){return!1}
5return!0};var dropCookie=function(value,expiryDays){setCookie('cookieControl',value,expiryDays);$('#gdpr-cookie-message').fadeOut('fast',function(){$(this).remove()})};var setCookie=function(name,value,expiry_days){var d=new Date();d.setTime(d.getTime()+(expiry_days*24*60*60*1000));var expires="expires="+d.toUTCString();document.cookie=name+"="+value+";"+expires+";path=/";return getCookie(name)};var getCookie=function(name){var cookie_name=name+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i<ca.length;i++){var c=ca[i];while(c.charAt(0)==' '){c=c.substring(1)}
6if(c.indexOf(cookie_name)===0){return c.substring(cookie_name.length,c.length)}}
7return!1}}(jQuery))

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.