1 2 3<!DOCTYPE html> 4<html lang="ru"> 5 6<head> 7 <meta charset="utf-8"> 8 <meta name="referrer" content="no-referrer" /> 9 <title>Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка</title> 10 <meta name="description" content="Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка"> 11 <meta name="og:title" content="Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка"> 12 <meta name="og:description" content="Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка"> 13 <meta name="keywords" content="Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка ÑеÑвиÑа ÐвÑоÐомпÑомаÑ"> 14 15
15<script src="https://avtokompromat.ru/scripts3/jquery-3.1.1.min.js"></script>
15 16 <link rel="icon" href="https://avtokompromat.ru/favicon.ico" type="image/x-icon" /> 17 <link rel="shortcut icon" href="https://avtokompromat.ru/favicon.ico" type="image/x-icon"> 18 <link rel="stylesheet" href="https://avtokompromat.ru/css/fonts.css?2703"> 19 <link rel="stylesheet" href="https://avtokompromat.ru/scripts3/slick/slick.css"> 20 <link rel="stylesheet" href="https://avtokompromat.ru/scripts3/slick/slick-theme.css"> 21 <link rel="stylesheet" href="https://avtokompromat.ru/css3/bootstrap.min.css"> 22 <link rel="stylesheet" href="https://avtokompromat.ru/css3/style.css"> 23 <link rel="stylesheet" href="https://avtokompromat.ru/css/font-awesome.min.css?2703"> 24 25 <link rel="stylesheet" type="text/css" href="https://avtokompromat.ru/style/jquery.fancybox.css" media="screen" /> 26 <link rel="alternate" href="https://avtokompromat.ru/m/contact.php"/> 27 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 28 29 30</head> 31 32 33<body> 34 35 36 <header> 37 38<!-- Yandex.Metrika counter -->
39<script type="text/javascript" >
vendor: 305 bytes, lines 39-44
39 40 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; 41 m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) 42 (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); 43 44 ym(
4449944412
vendor: 129 bytes, lines 44-49
44, "init", { 45 clickmap:true, 46 trackLinks:true, 47 accurateTrackBounce:true, 48 webvisor:true 49 });
50</script>
50 51<noscript><div><img src="https://mc.yandex.ru/watch/49944412" style="position:absolute; left:-9999px;" alt="" /></div></noscript> 52<!-- /Yandex.Metrika counter --> 53 54 <div id="btn1"> 55 <span class="toggle-bar"></span> 56 </div> 57 58 <div class="logo"> 59 <a href="https://avtokompromat.ru/" ><h4> <strong style="color: #c62828; font-size: 21px;">ÐвÑо</strong><span style="color: white;">ÐомпÑомаÑ</span></h4> 60 <p>Ðнлайн пÑовеÑка авÑо </p></a> 61 </div> 62 63 64 65 66 <div id="navbar1"> 67 <ul class="navbar"> 68 <li> 69 70 <li><a href="https://avtokompromat.ru/user/logpass.php"><i class="fa fa-sign-in" aria-hidden="true"></i>ÐойÑи</a> 71 <i class="fa fa-sign-in toggleIconNavbar" aria-hidden="true"></i></li> 72 73 <li><a href="https://avtokompromat.ru/user/registr.php"><i class="fa fa-user-plus" aria-hidden="true"></i>РегиÑÑÑаÑиÑ</a> 74 <i class="fa fa-user-plus toggleIconNavbar" aria-hidden="true"></i></li> 75 <li><a href="https://avtokompromat.ru/user/logpass_zab.php"><i class="fa fa-unlock" aria-hidden="true"></i>ÐапомниÑÑ Ð¿Ð°ÑолÑ</a> 76 <i class="fa fa fa-unlock toggleIconNavbar" aria-hidden="true"></i></li> 77 <li><a href="https://avtokompromat.ru/faq.php"><i class="fa fa-question" aria-hidden="true"></i></i>ÐопÑÐ¾Ñ - оÑвеÑ</a> 78 <i class="fa fa-question toggleIconNavbar" aria-hidden="true"></i></li> 79 <li><a href="https://avtokompromat.ru/contact.php"><i class="fa fa-comment-o" aria-hidden="true"></i>Ð¢ÐµÑ Ð¿Ð¾Ð´Ð´ÐµÑжка</a> 80 81 <i class="fa fa-star toggleIconNavbar" aria-hidden="true"></i></li> 82 <li><a href="https://avtokompromat.ru/user/gosvin.php"><i class="fa fa-taxi" aria-hidden="true"></i>ÐÑовеÑиÑÑ Ð¿Ð¾ Ð³Ð¾Ñ Ð½Ð¾Ð¼ÐµÑÑ Ð¸ VIN</a> 83 <i class="fa fa-taxi toggleIconNavbar" aria-hidden="true"></i></li> 84 <li><a href="https://avtokompromat.ru/user/history_tel.php"><i class="fa fa-volume-control-phone" aria-hidden="true"></i>ÐÑовеÑиÑÑ Ð¿Ð¾ номеÑÑ ÑелеÑона</a> 85 <i class="fa fa-volume-control-phone toggleIconNavbar" aria-hidden="true"></i></li> 86 87 88 <li><a target="_blank" href="https://xn--90adear.xn--p1ai/check/fines"><i class="fa fa-bar-chart" aria-hidden="true"></i>ÐÑовеÑка ÑÑÑаÑов (ÐÐÐÐÐ)</a> 89 <i class="fa fa-bar-chart toggleIconNavbar" aria-hidden="true"></i></li> 90 91 <li><a target="_blank" href="https://fssprus.ru"><i class="fa fa-area-chart" aria-hidden="true"></i>ÐÑовеÑка долгов (ФССÐ)</a> 92 <i class="fa fa-area-chart toggleIconNavbar" aria-hidden="true"></i></li> 93 94 <li><a href="https://avtokompromat.ru/user/pasport.php"><i class="fa fa-address-book" aria-hidden="true"></i>ÐÑовеÑка паÑпоÑÑа РФ (ÐÐÐ)</a> 95 <i class="fa fa-address-book toggleIconNavbar" aria-hidden="true"></i></li> 96 97 98 99 <li><a href="https://avtokompromat.ru/user/tarif_dem.php"><i class="fa fa-money" aria-hidden="true"></i>ТаÑиÑÑ</a> 100 <i class="fa fa-money toggleIconNavbar" aria-hidden="true"></i></li> 101 <li><a href="https://avtokompromat.ru/user/news.php"><i class="fa fa-newspaper-o" aria-hidden="true"></i>ÐовоÑÑи и акÑии</a> 102 <i class="fa fa-newspaper-o toggleIconNavbar" aria-hidden="true"></i></li> 103 <li><a href="https://avtokompromat.ru/vin/W0L0SDL6884202149"><i class="fa fa-newspaper-o" aria-hidden="true"></i>ÐÑÑ Ð¸Ð² пÑовеÑок</a> 104 <i class="fa fa-newspaper-o toggleIconNavbar" aria-hidden="true"></i></li> 105 106 <li><a target="_blank" href="https://play.google.com/store/apps/details?id=ru.avto.kompromat"> <i class="fa fa-android" aria-hidden="true"></i>СкаÑаÑÑ Ð¿Ñиложение ÐндÑоид</a> 107 <i class="fa fa-android toggleIconNavbar" aria-hidden="true"></i></li> 108 <li><a target="_blank" target="blank" href="#"> <i class="fa fa-apple" aria-hidden="true"></i></i>СкоÑо пÑиложение IOS</a> 109 <i class="fa fa-android toggleIconNavbar" aria-hidden="true"></i></li> 110 <li><a href="https://avtokompromat.ru/config.php"><i class="fa fa-comment-o" aria-hidden="true"></i>ÐолÑзоваÑелÑÑкое ÑоглаÑение</a> 111 <i class="fa fa-comment-o toggleIconNavbar" aria-hidden="true"></i></li> 112 <li class="share"> 113 <i class="fa fa-bullhorn" aria-hidden="true"></i>РаÑÑказаÑÑ Ð´ÑÑзÑÑм: 114 <br id="small_transfer"> 115 <br> 116 <div> 117 118
118<script async src="//yastatic.net/es5-shims/0.0.2/es5-shims.min.js"></script>
118 119
119<script async src="//yastatic.net/share2/share.js"></script>
119 120 <div class="ya-share2" 121 data-url = "https://avtokompromat.ru" 122 data-title = "ÐвÑоÐомпÑÐ¾Ð¼Ð°Ñ - пÑовеÑка иÑÑоÑии авÑо ÐТÐ, Угон, РозÑÑк, ÐÑобег + пÑовеÑка пеÑекÑпÑиков авÑо." 123 data-description = "" 124 data-size = "m" 125 data-services="viber,whatsapp,telegram"></div> 126 127 128 </div> 129 </li> 130 </ul> 131 132 </div> 133 134 135 136 137 138 139 140 141 142 </header> 143 144 145
145<script> 146 var tek_str_nav = 'https://avtokompromat.ru/contact.php'; 147 148 $(document).ready(function () { 149 $('div#navbar2 a').each(function(){ 150 if (this.href == tek_str_nav) { 151 $(this).addClass('active'); 152 } 153 }); 154 155 $('div#navbar1 a').each(function(){ 156 if (this.href == tek_str_nav) { 157 $(this).addClass('active'); 158 } 159 }); 160 161 }); 162 </script>
162 163 <main> 164 <div class="container"> 165 <div class="content call text-center"> 166 <div class="row"> 167 <div class="col-xs-12"> 168 <p class="bold text-left"style="text-align: center;"> 169 ÐÑ Ð²Ñегда ÑможеÑе ÑвÑзаÑÑÑÑ Ñ Ð½Ð°Ð¼Ð¸, ÑдобнÑм Ð´Ð»Ñ Ð²Ð°Ñ ÑпоÑобом: 170 </p> 171 <p class="normal text-left"style="text-align: center;">Ðо ÑелеÑонÑ, Viber, WhatsApp, SMS</p> 172 <p class="phone"><i class="fa fa-phone" aria-hidden="true"></i> +7 (931) 304-07-00</p> 173 <p class="phone"> [email protected]</p> 174 175 <a href="viber://add?number=+79313040700"><img src="img/Viber.jpg" alt="viber"></a> 176 <a href="whatsapp://send?phone=+79313040700&text=ÐопÑÐ¾Ñ Ð¿Ð¾ ÑеÑвиÑÑ Ð¢ÑÑбоÐоиÑк"><img src="img/WhatsApp.jpg" alt="WhatsApp"></a> 177 <a href="tel:+79313040700"><img src="img/Phone.jpg" alt="Phone"></a> 178 <a href="sms:+79313040700"><img src="img/SMS.jpg" alt="Sms"></a> 179 <a href="mailto:[email protected]"><img src="img/Mail.jpg" alt="Mail"></a> 180 181 <p class="normal text-left"style="text-align: center;">или</p> 182 <p class="bold text-left"style="text-align: center;"> 183 ÐакажиÑе обÑаÑнÑй звонок и Ð¼Ñ Ñами Ðам пеÑезвоним. 184 </p> 185 186 <a href="https://avtokompromat.ru/pages/obr2.php?target=webview?target=_blank2" class="blueBtn history">ÐаказаÑÑ Ð¾Ð±ÑаÑнÑй звонок</a> 187 188 189 190 191 192 <p class="normal text-left"style="text-align: center;">ÐÑ Ð²Ñегда ÑÐ°Ð´Ñ Ð¾ÑвеÑиÑÑ, на инÑеÑеÑÑÑÑие ÐÐ°Ñ Ð²Ð¾Ð¿ÑоÑÑ. </p> 193 <p class="normal text-left"style="text-align: center;">С Ñважением команда ТÑÑбоÐоиÑк</p> 194 195 </div> 196 </div> 197 </div> 198 </div> 199 </main> 200 201 202 <footer> 203 <div class="container"> 204 <div class="row"> 205 <div class="col-sm-12"> 206 <h2>AvtoKompromat.Ru</h2> 207 <p>СеÑÐ²Ð¸Ñ Ð¾Ð½Ð»Ð°Ð¹Ð½ пÑовеÑки авÑо</p> 208 </div> 209 </div> 210 </div> 211 </footer> 212
212<script src="https://avtokompromat.ru/scripts/slick/slick.min.js"></script>
212 213
213<script src="https://avtokompromat.ru/scripts/bootstrap.min.js"></script>
213 214
214<script src="https://avtokompromat.ru/scripts/main.js"></script>
214 215
215<script src="https://avtokompromat.ru/js/jquery.fancybox.pack.js"></script>
215 216
216<script src="https://avtokompromat.ru/js/fancy.js"></script>
216 217
217<script src="https://turbopoisk.com/js/canvas_func.js?i=17"></script>
217 218 219<style> 220.canvas_wrapper {overflow-x: auto; width:100%; position: relative;} 221.canvas_tip {background-color:white; border:1px solid blue; position:absolute; left:-200px; top:100px; z-index:999;} 222.canvas_cont {margin-bottom:20px; background-color:#FFFFFF } 223</style> 224 225
225<script> 226 /* 227 $(function() { 228 $(document).ready(function() { 229 $('.z5000').click(function() { 230 $("body").attr('style', 'background-color: #1051b5; text-align: center; width: 100%; height: 100%;'); 231 $("body").html('<p style="margin-top: 200px;"><img src="https://avtokompromat.ru/icon/ico_zagruzka5.gif" alt="auto"></p>'); 232 }); 233 }); 234 }) 235 */ 236 237 238 $(function() { 239 $(document).ready(function() { 240 $('.z5000').click(function() { 241 $('#content_blocker').show(); 242 }); 243 }); 244 }) 245 246 247 248 249 250 </script>
250 251 252 253 254<div id="content_blocker" style="position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #1051b5; text-align: center; z-index: 9999; display:none; "> 255 256<p style="color: #ffffff; margin-top: 200px; font-size: 13px; text-align: center;">ÐдÑÑ Ð·Ð°Ð³ÑÑзка даннÑÑ Ð¸ пÑовеÑка, до оконÑÐ°Ð½Ð¸Ñ Ð¿ÑовеÑки оÑÑалоÑÑ Ð¿Ð¾Ð´Ð¾Ð¶Ð´Ð°ÑÑ Ð¼Ð°ÐºÑимÑм:</p> 257<div id="obrotschet2"style="color: #ffffff; font-size: 22px; font-weight: bold; padding: 25px; text-align: center;"></div> 258<p style="color: #ffffff; font-size: 13px; padding: 10px; text-align: center;">ÐÑовеÑка вÑполнÑеÑÑÑ Ð² Ñежиме ÑеалÑного вÑемени. СÑеднее вÑÐµÐ¼Ñ Ð¿ÑовеÑки авÑо иÑÑоÑии Ð·Ð°Ð½Ð¸Ð¼Ð°ÐµÑ Ð¾ÐºÐ¾Ð»Ð¾ 60 ÑекÑнд, но иногда долÑÑе. ÐожалÑйÑÑа подождиÑе......</p> 259</div> 260 261 262 263<div id="cookie-notification" class="cookie-popup"> 264 <div class="cookie-content"> 265 <p class="cookie-text"> 266 ÐÑÐ¾Ð´Ð¾Ð»Ð¶Ð°Ñ Ð¸ÑполÑзоваÑÑ Ð½Ð°Ñ ÑайÑ, ÐÑ Ð´Ð°ÐµÑе Ñвое ÑоглаÑие на обÑабоÑÐºÑ 267 полÑзоваÑелÑÑÐºÐ¸Ñ Ð´Ð°Ð½Ð½ÑÑ Ð² ÑооÑвеÑÑÑвии Ñ <a target="_blank" href="https://avtokompromat.ru/privacy.html">ÐолиÑикой конÑиденÑиалÑноÑÑи</a>, а Ñакже 268 ÑоглаÑие на ÑÐ±Ð¾Ñ Ð´Ð°Ð½Ð½ÑÑ Ð¼ÐµÑÑиÑеÑкой ÑиÑÑемой ЯндекÑ.ÐеÑÑика в ÑооÑвеÑÑÑвии Ñ ÑÑловиÑми 269 ÐолиÑики конÑиденÑиалÑноÑÑи ÐÐÐ "ЯÐÐÐÐС" (<a href="https://yandex.ru/legal/confidential/" target="_blank">https://yandex.ru/legal/confidential/</a>) в ÑелÑÑ 270 опÑÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»ÑзоваÑелей на ÑайÑе Ð´Ð»Ñ Ð²Ð½ÑÑÑенней аналиÑики. 271 </p> 272 <button id="cookie-accept-btn">ÐÑинÑÑÑ</button> 273 </div> 274</div> 275<style> 276/* СÑили Ð´Ð»Ñ Ð²ÑплÑваÑÑего ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ cookies */ 277.cookie-popup { 278 position: fixed; 279 bottom: 0; 280 left: 0; 281 right: 0; 282 background-color: rgba(0, 0, 0); 283 color: #fff; 284 padding: 20px; 285 z-index: 9999; 286 display: none; 287 transform: translateY(100%); 288 transition: transform 0.5s ease-in-out; 289 290} 291 292.cookie-text { 293 color: #fff; 294} 295 296.cookie-popup.visible { 297 transform: translateY(0); 298} 299 300.cookie-content { 301 max-width: 1200px; 302 margin: 0 auto; 303 display: flex; 304 flex-direction: column; 305 gap: 15px; 306} 307 308.cookie-checkbox-container { 309 display: flex;
310 align-items: flex-start; 311 gap: 10px; 312} 313 314.cookie-checkbox-container input[type="checkbox"] { 315 margin-top: 4px; 316} 317 318.cookie-checkbox-container label { 319 font-size: 14px; 320 line-height: 1.5; 321} 322 323.cookie-popup a { 324 color: #4dabf7; 325 text-decoration: underline; 326} 327 328#cookie-accept-btn { 329 align-self: flex-end; 330 background-color: #4dabf7; 331 color: white; 332 border: none; 333 padding: 8px 20px; 334 border-radius: 4px; 335 cursor: pointer; 336 font-weight: bold; 337} 338 339#cookie-accept-btn:disabled { 340 background-color: #cccccc; 341 cursor: not-allowed; 342} 343 344 345</style> 346
347<script> 348document.addEventListener('DOMContentLoaded', function() { 349 // ÐниÑиализаÑÐ¸Ñ Ð²ÑплÑваÑÑего ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ cookies 350 initCookieNotification(); 351 352 // ÐниÑиализаÑÐ¸Ñ ÑоÑм Ñ ÑоглаÑием 353 initConsentForms(); 354}); 355 356/** 357 * УнивеÑÑалÑÐ½Ð°Ñ ÑÑнкÑÐ¸Ñ Ð´Ð»Ñ ÑÑÑановки ÑоглаÑÐ¸Ñ 358 * @param {string} storageType - Ñип Ñ ÑанилиÑа ('cookie' или 'localStorage') 359 * @param {string} name - Ð¸Ð¼Ñ Ð¿ÐµÑеменной Ð´Ð»Ñ Ñ ÑÐ°Ð½ÐµÐ½Ð¸Ñ ÑоглаÑÐ¸Ñ 360 * @param {string} value - знаÑение (обÑÑно 'true') 361 * @param {number} days - ÑÑок Ñ ÑÐ°Ð½ÐµÐ½Ð¸Ñ Ð² днÑÑ (ÑолÑко Ð´Ð»Ñ cookie) 362 */ 363function setConsent(storageType, name, value, days) { 364 console.log(`Ð¡Ð¾Ñ ÑанÑем ÑоглаÑие: ${name} = ${value} в ${storageType}`); 365 366 if (storageType === 'localStorage') { 367 localStorage.setItem(name, value); 368 } else if (storageType === 'cookie') { 369 const date = new Date(); 370 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 371 const expires = "expires=" + date.toUTCString(); 372 document.cookie = name + "=" + value + ";" + expires + ";path=/"; 373 } 374} 375 376/** 377 * УнивеÑÑалÑÐ½Ð°Ñ ÑÑнкÑÐ¸Ñ Ð´Ð»Ñ Ð¿ÑовеÑки налиÑÐ¸Ñ ÑоглаÑÐ¸Ñ 378 * @param {string} storageType - Ñип Ñ ÑанилиÑа ('cookie' или 'localStorage') 379 * @param {string} name - Ð¸Ð¼Ñ Ð¿ÐµÑеменной Ð´Ð»Ñ Ñ ÑÐ°Ð½ÐµÐ½Ð¸Ñ ÑоглаÑÐ¸Ñ 380 * @return {boolean} - налиÑие ÑоглаÑÐ¸Ñ 381 */ 382function checkConsent(storageType, name) { 383 if (storageType === 'localStorage') { 384 return localStorage.getItem(name) === 'true'; 385 } else if (storageType === 'cookie') { 386 const nameEQ = name + "="; 387 const ca = document.cookie.split(';'); 388 for (let i = 0; i < ca.length; i++) { 389 let c = ca[i]; 390 while (c.charAt(0) === ' ') c = c.substring(1); 391 if (c.indexOf(nameEQ) === 0) { 392 return c.substring(nameEQ.length, c.length) === 'true'; 393 } 394 } 395 return false; 396 } 397 return false; 398} 399 400/** 401 * ÐниÑиализаÑÐ¸Ñ Ð²ÑплÑваÑÑего ÑÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð¾ cookies 402 */ 403function initCookieNotification() { 404 // ÐÐ°Ñ Ð¾Ð´Ð¸Ð¼ ÑлеменÑÑ Ð½Ð° ÑÑÑаниÑе 405 const cookieNotification = document.getElementById('cookie-notification'); 406 407 // ÐÑли Ñведомление не найдено, вÑÑ Ð¾Ð´Ð¸Ð¼ из ÑÑнкÑии 408 if (!cookieNotification) { 409 console.log('Уведомление о cookies не найдено на ÑÑÑаниÑе'); 410 return; 411 } 412 413 // ÐÑовеÑÑем, дал ли полÑзоваÑÐµÐ»Ñ ÑоглаÑие Ñанее 414 if (checkConsent('localStorage', 'cookieConsent')) { 415 console.log('СоглаÑие на cookies Ñже полÑÑено Ñанее. Уведомление не показÑваем.'); 416 //initializeAnalytics(); 417 return; 418 } 419 420 console.log('СоглаÑие на cookies не найдено, показÑваем Ñведомление'); 421 422 // ÐÐ°Ñ Ð¾Ð´Ð¸Ð¼ ÐºÐ½Ð¾Ð¿ÐºÑ Ð¿ÑинÑÑÐ¸Ñ 423 const cookieAcceptBtn = document.getElementById('cookie-accept-btn'); 424 425 // ÐÑли кнопка не найдена, вÑÑ Ð¾Ð´Ð¸Ð¼ из ÑÑнкÑии 426 if (!cookieAcceptBtn) { 427 console.error('Ðнопка пÑинÑÑÐ¸Ñ cookies не найдена на ÑÑÑаниÑе'); 428 return; 429 } 430 431 // ÐоказÑваем Ñведомление Ñ Ð·Ð°Ð´ÐµÑжкой 432 setTimeout(function() { 433 cookieNotification.style.display = 'block'; 434 // ÐобавлÑем неболÑÑÑÑ Ð·Ð°Ð´ÐµÑÐ¶ÐºÑ Ð¿ÐµÑед анимаÑией Ð´Ð»Ñ ÐºÐ¾ÑÑекÑного оÑобÑÐ°Ð¶ÐµÐ½Ð¸Ñ 435 setTimeout(function() { 436 cookieNotification.classList.add('visible'); 437 }, 50); 438 }, 300); 439 440 // ÐбÑабаÑÑваем нажаÑие на ÐºÐ½Ð¾Ð¿ÐºÑ Ð¿ÑинÑÑÐ¸Ñ 441 cookieAcceptBtn.addEventListener('click', function() { 442 console.log('ÐолÑзоваÑÐµÐ»Ñ Ð¿ÑинÑл ÑоглаÑие на cookies'); 443 444 // Ð¡Ð¾Ñ ÑанÑем ÑоглаÑие в localStorage 445 setConsent('localStorage', 'cookieConsent', 'true', 365); 446 447 // Ðлавно ÑкÑÑваем Ñведомление 448 cookieNotification.classList.remove('visible'); 449 setTimeout(function() { 450 cookieNotification.style.display = 'none'; 451 }, 500); 452 453 // ÐниÑиализиÑÑем аналиÑÐ¸ÐºÑ 454 //initializeAnalytics(); 455 });
456} 457 458/** 459 * ÐниÑиализаÑÐ¸Ñ ÑоÑм Ñ ÑоглаÑием 460 */ 461function initConsentForms() { 462 // ÐÐ°Ñ Ð¾Ð´Ð¸Ð¼ вÑе ÑоÑÐ¼Ñ Ñ Ð°ÑÑибÑÑом data-consent-type 463 const forms = document.querySelectorAll('form[data-consent-type]'); 464 465 // ÐÑли ÑоÑÐ¼Ñ Ð½Ðµ найденÑ, вÑÑ Ð¾Ð´Ð¸Ð¼ из ÑÑнкÑии 466 if (forms.length === 0) { 467 console.log('ФоÑÐ¼Ñ Ñ Ð°ÑÑибÑÑом data-consent-type не найденÑ'); 468 return; 469 } 470 471 // ÐбÑабаÑÑваем каждÑÑ ÑоÑÐ¼Ñ 472 forms.forEach(function(form) { 473 const consentType = form.getAttribute('data-consent-type'); 474 const consentName = 'consent_' + consentType; 475 476 // ÐÐ°Ñ Ð¾Ð´Ð¸Ð¼ ÑÐµÐºÐ±Ð¾ÐºÑ Ð¸ ÐºÐ½Ð¾Ð¿ÐºÑ Ð¾ÑпÑавки 477 const checkbox = form.querySelector('input[name="personal_data_consent"]'); 478 const submitBtn = form.querySelector('button[type="submit"]'); 479 480 // ÐÑли ÑÐµÐºÐ±Ð¾ÐºÑ Ð¸Ð»Ð¸ кнопка не найденÑ, пÑопÑÑкаем ÑÑÑ ÑоÑÐ¼Ñ 481 if (!checkbox || !submitBtn) { 482 console.error(`Ð ÑоÑме ${consentType} не найден ÑÐµÐºÐ±Ð¾ÐºÑ ÑоглаÑÐ¸Ñ Ð¸Ð»Ð¸ кнопка оÑпÑавки`); 483 return; 484 } 485 486 console.log(`ÐниÑиализаÑÐ¸Ñ ÑоÑÐ¼Ñ Ñ Ñипом ÑоглаÑиÑ: ${consentType}`); 487 488 // ÐÑовеÑÑем, давал ли полÑзоваÑÐµÐ»Ñ ÑоглаÑие Ñанее 489 if (checkConsent('localStorage', consentName)) { 490 console.log(`СоглаÑие Ð´Ð»Ñ ÑоÑÐ¼Ñ ${consentType} Ñже полÑÑено Ñанее`); 491 492 // ÐÑли да, авÑомаÑиÑеÑки оÑмеÑаем ÑÐµÐºÐ±Ð¾ÐºÑ Ð¸ акÑивиÑÑем ÐºÐ½Ð¾Ð¿ÐºÑ 493 checkbox.checked = true; 494 submitBtn.disabled = false; 495 } 496 497 // ÐклÑÑаем/оÑклÑÑаем ÐºÐ½Ð¾Ð¿ÐºÑ Ð¾ÑпÑавки в завиÑимоÑÑи Ð¾Ñ ÑоÑÑоÑÐ½Ð¸Ñ ÑекбокÑа 498 checkbox.addEventListener('change', function() { 499 submitBtn.disabled = !this.checked; 500 console.log(`СоÑÑоÑние ÑекбокÑа ÑоÑÐ¼Ñ ${consentType} изменено: ${this.checked}`); 501 }); 502 503 // ÐбÑабоÑка оÑпÑавки ÑоÑÐ¼Ñ 504 form.addEventListener('submit', function(event) { 505 if (!checkbox.checked) { 506 event.preventDefault(); 507 alert('ÐожалÑйÑÑа, подÑвеÑдиÑе Ñвое ÑоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ Ð´Ð°Ð½Ð½ÑÑ .'); 508 return; 509 } 510 511 // Ð¡Ð¾Ñ ÑанÑем ÑоглаÑие в localStorage 512 setConsent('localStorage', consentName, 'true', 365); 513 console.log(`ФоÑма ${consentType} оÑпÑавлена Ñ ÑоглаÑием на обÑабоÑÐºÑ Ð´Ð°Ð½Ð½ÑÑ `); 514 }); 515 }); 516} 517 518 519</script>
519 520 521 522 523</body>
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.