View Source code:

Tidy UP & Clean HTML Code - View Source of http://www.auto.ru

<html>
<head>
    <meta charSet="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width,maximum-scale=1,initial-scale=1,user-scalable=no"/>
    <title>Авто.ру: купить, продать и обменять машину</title>
    <link rel="shortcut icon" href="//yastatic.net/iconostasis/_/yrnXc0TafkMtLn2W7JSKUwrDYx8.ico"/>
    <style>
body {
    -webkit-font-smoothing: antialiased;
    font-family: Arial,Helvetica Neue,Helvetica,sans-serif;

    margin: 0;
    padding: 32px;

    background-color: #fff;
}
.content {
    margin: 0 auto;
}
.logo {
    display: inline-block;

    width: 120px;
    height: 30px;

    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDQgMjAiPjxwYXRoIGQ9Ik03LjYxNCAzLjM5NmMyLjIwOCAwIDMuOTUyLjg0OSA0LjQ0NiAxLjk5di0xLjU4aDMuNTc1VjE4Ljg4SDEyLjA2VjE3LjNjLS40OTQgMS4xMTItMi4yMzggMS45OS00LjQ0NiAxLjk5QzMuNjA0IDE5LjI5IDAgMTYuMDcgMCAxMS4zNThjMC00LjcxMyAzLjYwMy03Ljk2MiA3LjYxNC03Ljk2MnpNOC4wNSAxNS4zNGMxLjgzIDAgMy40MjktLjg3OCAzLjg5NC0xLjk5VjkuMzM4Yy0uNDY1LTEuMTQyLTIuMDYzLTEuOTktMy44OTQtMS45OS0yLjU1OCAwLTQuMzMgMS42MzktNC4zMyA0LjAxIDAgMi4zNyAxLjc3MiAzLjk4MSA0LjMzIDMuOTgxek0xOS43OSAzLjgwNWgzLjY5djguMTM4YzAgMi4xNjcgMS4zNjcgMy4zOTYgMy4xNjkgMy4zOTYgMS41NjkgMCAzLjA1MS0uOTY2IDMuMzEyLTIuMjgzdi05LjI1aDMuNjkxVjE4Ljg4aC0zLjU3NXYtMS41MjJjLS40MD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zLTIuMzk5IDEuMTA0IDAgMi4wMzQuNTI3IDIuNDEyIDEuMTQxbC0uNTI0IDMuNDI1bTMuMDUxLTQuMTU3aDMuNjl2OC4xMzhjMCAyLjE2NyAxLjM2NyAzLjM5NiAzLjE2OSAzLjM5NiAxLjU2OSAwIDMuMDUtLjk2NiAzLjMxMi0yLjI4M3YtOS4yNWgzLjY5MVYxOC44OEg5OS41OXYtMS41MjJjLS40MDcgMS4xMTItMS44MyAxLjkzMi0zLjk4MiAxLjkzMi0zLjA4IDAtNi4zMDYtMi4wNS02LjMwNi02LjczM1YzLjgwNSIgZmlsbD0iI2RiMzcyNyIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat;

    margin-bottom: 36px;
}
.text {
    font-size: 15px;
    line-height: 21px;

    margin-bottom: 36px;
}
.button {
    display: block;

    font-size: 15px;
    line-height: 42px;
    text-align: center;

    height: 42px;
    padding: 0 24px;
    margin: 0 0 24px 0;

    border-radius: 4px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    cursor: pointer;
}
.button__text {
}
.button_blue {
    color: #fff;

    background-color: #157ee1;
    border: 1px solid #157ee1;
}
.button_white {
    color: rgba(0, 0, 0, 0.87);

    border: 1px solid rgba(0, 0, 0, 0.12);

    text-decoration: none;
}
@media screen and (min-device-width: 768px) {
    .content {
        width: 500px;
    }

    .button {
        display: inline-block;

        margin-right: 24px;
    }
}
    </style>
</head>
<body>
    <div class="content">
        <div class="logo"></div>
        <div class="text">
            Продолжая использование данного сайта, я соглашаюсь с тем, что обработка моих данных будет осуществляться в соответствии с законодательством Российской Федерации.
        </div>
        <div class="text">
            By continuing using this website I accept that processing of my personal data will be held with compliance of Russian Federation laws.
        </div>
        <div class="buttons">
            <div class="button button_blue" id="confirm-button">Я согласен. I accept</div><!--
            --><a class="button button_white" href="https://www.yandex.ru">Покинуть сайт. Leave website</a>
        </div>
    </div>
<script>
var config = {"cookies_domain":".auto.ru","ajaxPath":"/-/ajax/"};
var button = document.getElementById('confirm-button');
button.addEventListener('click', function() {
    document.cookie = 'gdpr=1;path=/;max-age=31536000;domain=' + config.cookies_domain;
    var cookies = getCookies();
    var xhr = new XMLHttpRequest();
    xhr.addEventListener('load', function(event) {
        //  После установки куки, релоадим страницу.
        window.location.reload();
    });
    xhr.open('POST', config.ajaxPath + 'gdprConfirm');
    xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    xhr.setRequestHeader('x-csrf-token', cookies['_csrf_token']);
    xhr.send(null);
});
function getCookies() {
    var r = {};
    var items = (document.cookie || '').split(/\s*;\s/);
    for (var i = 0; i < items.length; i++) {
        var parts = items[i].split('=');
        r[parts[0]] = decodeURIComponent(parts[1]);
    }
    return r;
}
</script>
</body>
</html>