В малиновых штанах
Профиль
Группа: Пользователи
Сообщений: 1653
Пользователь №: 95403
Регистрация: 27.01.2012 - 16:27
именно так
Код <script> window.avito = window.avito || {}; window.avito.staticPrefix = '//www.avito.st'; window.avito.supportPrefix = 'https://support.avito.ru/hc/ru'; window.avito.pageId = 'catalog'; window.avito.metrics = {}; window.avito.metrics.categoryId = null; window.avito.metrics.browser = 'firefox.54'; </script> <script src="/s/a/j/dfp/px.js?ch=1"></script> <script src="/s/a/j/dfp/px.js?ch=2"></script> <script> window.avito.ads = { userGroup: 70, isShowTestBlockId: 1, criteo: { isEnabled: true }, yandex: { isAdFoxEnabled: true, statId: 100000069, bannerCodeToRtbBlockId: { 'desktop_low': window.abp ? 'R-189903-34' : 'R-188382-13' } } }; </script> <script>!function(e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e:e(window,[".avito.ru",".avito.dev",".googlesyndication.com"],[".js-expandable-banner",".js-banner-1000x120",".js-banner-1000x120 iframe",".js-item-price-banner",".js-item-price-banner iframe"])}(function(e,t,n){"use strict";function o(e,t,n){s[t]&&e.postMessage(n,"*")}function i(e,t,o,i){-1!==n.indexOf(t)&&a(t,o)&&i&&e.postMessage(i,"*")}function r(t,n,o,i){function r(){t.postMessage(i,"*")}var a;a="document"===n?e.document:"window"===n?e:e.document.querySelector(n),a&&o&&i&&(a.addEventListener(o,r),d[i]=r)}function a(t,n){var o,i=isFinite(Number(n));return i&&(o=e.document.querySelector(t))&&("IFRAME"===o.tagName?o.setAttribute("height",n):o.style.height=n+"px"),i}var s={setHeight:i,addEventListener:r,hasSupport:o},d={};e.addEventListener("message",function(n){var o=n.origin,i=e.document.origin===o||t.some(function(e){return o.indexOf(e)===o.length-e.length});if(i){var r="string"==typeof n.data?n.data.split("$"):n.data;if("banner-control"===r[0]){var a=r[1],d=r.slice(2);s[a].apply(null,[n.source].concat(d))}}})}),function(e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e:(window.avito=window.avito||{},window.avito.ads=window.avito.ads||{},window.avito.ads.addBannerBorder=e)}(function(e){function t(){0!==a&&clearTimeout(a),a=setTimeout(function(){var e=o.getBoundingClientRect().width;0!==e&&(r=r||i.getBoundingClientRect().width,i.classList.toggle("has-border",r-e>n),a=0)},100)}var n=6,o=document.getElementById(e),i=o.parentNode,r=0,a=0;try{var s=new MutationObserver(t);s.observe(o,{childList:!0,subtree:!0})}catch(e){}});</script> <script src="https://www.avito.ru/stat/fe_metric.min.js?13" async></script> <script src="//www.avito.st/s/cc/0faf21bae4a4a5ba9a655a1350e7634a87a09599.js?64fefeb" ></script> <script src="//www.avito.st/s/cc/4d7e3a98a59f28b252009c30c66c46ce476e3da9.js?224c9b1" ></script> <script src="//www.avito.st/s/cc/0fc3a12b2a6cf0030bec0fb69e2340695b832070.js?7b6dff0" ></script> <script src="//www.avito.st/s/cc/560f38d1196e2818c4ce5aa012839eb2e6d1905c.js?84858fe" ></script> <script src="//www.avito.st/s/cc/ab738ec09049da965a28099b4075ff8874feccd8.js?0c764d2" ></script> <script>var avito=avito||{};avito.dfp=function(){"use strict";var t,n;return avito.cache.get("dfp_group",function(n){t=n},function(t){t(Math.floor(100*Math.random())+1)},5184e3),avito.cache.get("ad_seg_temp",function(t){n=t},function(t){var n=setInterval(function(){void 0!==window.$&&(clearInterval(n),n=0,$.ajax({url:"//ssp.adriver.ru/cgi-bin/dmp2.cgi?pub_id=195183",dataType:"JSONP",jsonpCallback:"my_callback",type:"GET",success:function(n){var e=n.segments;"string"==typeof e&&(e=e.split(/\s*,\s*/)),t(e)}}))},100)},5184e3),{getUserGroup:function(){return t},getSegments:function(){return n}}}();</script> <script>var googletag=googletag||{};googletag.cmd=googletag.cmd||[],function(){var t=document.createElement("script");t.async=!0,t.type="text/jаvаsсriрt";var e="https:"==document.location.protocol;t.src=(e?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(t,o)}();</script> <script>window.dfp_Pv_session={};try{window.dfp_Pv_session=JSON.parse(sessionStorage.getItem("dfp_views")||"{}")}catch(s){}</script> <script> banners = window.banners || {}; googletag.cmd.push(function () { banners['context_1'] = banners['context_1'] || {}; banners['context_1'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/context_1', [[1,1]], 'ads_context_1').addService(googletag.pubads()); banners['context_1'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/context_1'; banners['context_1'].dfpSlot.setTargeting('bp', 'context_1'); banners['ldr_low'] = banners['ldr_low'] || {}; banners['ldr_low'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/ldr_low', [[728,90],[1000,90],[1000,120],[970,90],[980,120],[900,90]], 'ads_ldr_low').addService(googletag.pubads()); banners['ldr_low'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/ldr_low'; banners['ldr_low'].dfpSlot.setTargeting('bp', 'ldr_low'); banners['ldr_top'] = banners['ldr_top'] || {}; banners['ldr_top'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/ldr_top', [[1000,120],[1000,90],[970,90],[728,90],[980,120],[960,90],[950,90],[1,1],[900,90],[1000,200]], 'ads_ldr_top').addService(googletag.pubads()); banners['ldr_top'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/ldr_top'; banners['ldr_top'].dfpSlot.setTargeting('bp', 'ldr_top'); banners['tgb1'] = banners['tgb1'] || {}; banners['tgb1'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/tgb1', [[240,160],[240,133],[240,145],[240,200],[300,195],[300,250],[240,400]], 'ads_tgb1').addService(googletag.pubads()); banners['tgb1'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/tgb1'; banners['tgb1'].dfpSlot.setTargeting('bp', 'tgb1'); banners['vr_low'] = banners['vr_low'] || {}; banners['vr_low'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/vr_low', [[240,400],[300,250],[120,600],[160,600],[300,600],[240,133],[240,160],[240,145],[240,600],[250,250],[250,360],[240,200],[300,195]], 'ads_vr_low').addService(googletag.pubads()); banners['vr_low'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/vr_low'; banners['vr_low'].dfpSlot.setTargeting('bp', 'vr_low'); banners['vr_top'] = banners['vr_top'] || {}; banners['vr_top'].dfpSlot = googletag.defineSlot('/7870/AR/SearchAll/Root/Search/vr_top', [[240,400],[300,250],[120,600],[160,600],[240,133],[240,160],[240,145],[250,250],[250,360],[240,200],[300,195]], 'ads_vr_top').addService(googletag.pubads()); banners['vr_top'].dfpSlotId = '/7870/AR/SearchAll/Root/Search/vr_top'; banners['vr_top'].dfpSlot.setTargeting('bp', 'vr_top'); var pubads = googletag.pubads(); pubads.collapseEmptyDivs(); pubads.setTargeting("g_city", "662530"); pubads.setTargeting("g_country", "621540"); pubads.setTargeting("stlogin", ["0"]); pubads.setTargeting("g_reg", "662530"); pubads.setTargeting("ip", "46.16.24.133"); pubads.setTargeting("page_type", "root"); pubads.setTargeting("master_category", "null"); pubads.setTargeting("cat_interests", ["n112","n90","n94","n35","h110","h81","h114","h1","h6","h113","h111","h9","e10","e24","e85","p4","p110","p81","p14","p114","p1","p6","p113","p31","p101","p111","p9"]); googletag.pubads().setTargeting("socd", ["ed23","ge22","ci32","ma23","ag22","em23","em13","co12"]); pubads.setTargeting("params_interests", ["869","4804"]); pubads.setTargeting("AudRandom", '70'); pubads.setTargeting('region_cluster', '70_2'); window.segments = avito.dfp && avito.dfp.getSegments() || ''; if (window.segments) { googletag.pubads().setTargeting("AdRS", window.segments + '' ); } pubads.setTargeting("splittest_dfpfirst_0", "experimental" ); if (window.dfp_Pv_session) { for (var code in window.dfp_Pv_session) { if (window.banners[code] && window.banners[code].dfpSlot) { window.banners[code].dfpSlot.setTargeting('PV_session_' + code, String(window.dfp_Pv_session[code])); } } } if (window.abp) { googletag.pubads().setTargeting("abp", "1"); } else { googletag.pubads().setTargeting("abp", "0"); } document.сооkiе.split(';').forEach(function(сооkiе) { сооkiе = сооkiе.trim(); // если кука вида bannerName__targets__targetName: targetValue if (сооkiе.search('__targets__') !== -1) { var cookieName = сооkiе.split('=')[0], bannerName = cookieName.split('__targets__')[0], targetName = cookieName.split('__targets__')[1], targetValue = сооkiе.split('=')[1]; if (window.banners[bannerName]) { window.banners[bannerName].dfpSlot.setTargeting(targetName, String(targetValue)); } } }); googletag.pubads().setTargeting("g_domofond_reg", "yaroslavskaya_oblast-r7"); googletag.pubads().setTargeting("phcodedesc", ""); googletag.pubads().addEventListener( 'slotRenderEnded', function( event ) { function triggerCallback() { if ( avito.slotRenderCallback ) { avito.slotRenderCallback( event ); } } if ( window.addEventListener ) { window.addEventListener( 'load', triggerCallback ); } else if ( window.attachEvent ) { window.attachEvent( 'onload', triggerCallback ); } }); googletag.enableServices(); }); window.AvitoIDS = ["n112","n90","n94","n35","h110","h81","h114","h1","h6","h113","h111","h9","e10","e24","e85","p4","p110","p81","p14","p114","p1","p6","p113","p31","p101","p111","p9","ed23","ge22","ci32","ma23","ag22","em23","em13","co12","869","4804"]; </script> <script>!function(){"use strict";var t=document.createElement("script");t.type="text/jаvаsсriрt",t.async=!0;var e=new Image,a=String(Date.now())+Math.random().toFixed(8);e.src="//www.avito.ru/stat/ad?k=stu:bab&r="+a,t.onload=function(){window.blockAdBlock.onDetected(function(){e.src="//www.avito.ru/stat/ad?k=stu:bab_1&r="+a}),window.blockAdBlock.onNotDetected(function(){e.src="//www.avito.ru/stat/ad?k=stu:bab_0&r="+a})},t.src="/s/build/vendor/helpful-lib/some-pretty-script.js";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(t,o)}();</script> </head> <body class="windows windows firefox firefox-firefox " id="catalog" > <script src="//yastatic.net/pcode/adfox/loader.js"></script> <script> (function() { var banners = window.banners = window.banners || {}; banners.isYandexTestId = '1'; banners.downTimePassback = Number('0'); var banner; banner = banners['vr_low'] = banners['vr_low'] || {}; banner.rtbPageId = 'R-106253-327'; banner.rtbTestPageId = 'R-106253-347'; banner.rtbDisabled = window.avito.ads.checkBannerDisabled('vr_low', 'rtb', banners); banner = banners['ldr_top'] = banners['ldr_top'] || {}; banner.rtbPageId = 'R-106253-325'; banner.rtbTestPageId = 'R-106253-358'; banner.rtbDisabled = window.avito.ads.checkBannerDisabled('ldr_top', 'rtb', banners); banner = banners['vr_top'] = banners['vr_top'] || {}; banner.rtbPageId = 'R-106253-369'; banner.rtbTestPageId = 'R-106253-370'; banner.rtbDisabled = window.avito.ads.checkBannerDisabled('vr_top', 'rtb', banners); banner = banners['vr_low'] = banners['vr_low'] || {}; banner.adfoxPageId = '8_bugcd-fhtv'; banner.adfoxTestPageId = '8_bugcf-fhtw'; banner.adfoxDisabled = window.avito.ads.checkBannerDisabled('vr_low', 'adfox', banners); banner = banners['ldr_top'] = banners['ldr_top'] || {}; banner.adfoxPageId = '8_bugcc-fhtt'; banner.adfoxTestPageId = '8_bugce-fhtu'; banner.adfoxDisabled = window.avito.ads.checkBannerDisabled('ldr_top', 'adfox', banners); })(); </script> <script>if("undefined"!=typeof asiPlacements)for(var p in asiPlacements)window["ASPQ_"+p]=asiPlacements[p].default?"PQ_"+p+"=T":"",asiPlacements[p].default&&googletag.pubads().setTargeting("PQ_"+p,"T");</script> <script src="//www.avito.st/s/cc/e28edd71df0ee07b53849db6bdc4ff39e01cf6ed.js?84a5e91" ></script> <script>avito.itemsStatUrlParams = { t : '1497881378', x : 'stihoqo2gu8408kkk8c4ggkwcwcko44' };</script> <script type="text/jаvаsсriрt"> var avito = avito || { }; avito.counters = avito.counters || { }; avito.counters[1] = [{"name":"Ярославль","cnt":274561,"url":"\/yaroslavl"},{"name":"Большое Село","cnt":229,"url":"\/bolshoe_selo"},{"name":"Борисоглебский","cnt":425,"url":"\/borisoglebskiy"},{"name":"Брейтово","cnt":259,"url":"\/breytovo"},{"name":"Бурмакино","cnt":99,"url":"\/burmakino"},{"name":"Волга","cnt":104,"url":"\/volga"},{"name":"Гаврилов-Ям","cnt":1440,"url":"\/gavrilov-yam"},{"name":"Данилов","cnt":980,"url":"\/danilov"},{"name":"Дубки","cnt":84,"url":"\/yaroslavskaya_oblast_dubki"},{"name":"Ишня","cnt":29,"url":"\/ishnya"},{"name":"Константиновский","cnt":88,"url":"\/konstantinovskiy"},{"name":"Красные Ткачи","cnt":213,"url":"\/krasnye_tkachi"},{"name":"Лесная Поляна","cnt":43,"url":"\/lesnaya_polyana"},{"name":"Любим","cnt":240,"url":"\/lyubim"},{"name":"Мышкин","cnt":824,"url":"\/myshkin"},{"name":"Некрасовское","cnt":559,"url":"\/nekrasovskoe"},{"name":"Новый Некоуз","cnt":333,"url":"\/novyy_nekouz"},{"name":"Переславль-Залесский","cnt":8842,"url":"\/pereslavl-zalesskiy"},{"name":"Петровское","cnt":255,"url":"\/yaroslavskaya_oblast_petrovskoe"},{"name":"Пошехонье","cnt":291,"url":"\/poshehone"},{"name":"Пречистое","cnt":181,"url":"\/prechistoe"},{"name":"Ростов","cnt":7001,"url":"\/rostov"},{"name":"Рыбинск","cnt":39956,"url":"\/rybinsk"},{"name":"Семибратово","cnt":364,"url":"\/semibratovo"},{"name":"Туношна","cnt":150,"url":"\/tunoshna"},{"name":"Тутаев","cnt":4291,"url":"\/tutaev"},{"name":"Углич","cnt":5420,"url":"\/uglich"}]; </script> <script> (function (bannerCode) { var adfoxPageId = window.banners.isYandexTestId ? window.banners[bannerCode].adfoxTestPageId : window.banners[bannerCode].adfoxPageId; if (!window.Ya || !window.Ya.adfoxCode) { window.avito.ads.showDfp(bannerCode, false); } else { window.avito.ads.yandex.showAdFox(bannerCode, adfoxPageId, false); } }('ldr_top')); </script> <script> window.avito.ads.yandex.showRtb({ bannerCode: "desktop_low" }); </script> <script> (function(bannerCode) { var ads = window.avito.ads; var yandex = ads.yandex; if (ads.disableBannerIfABP(bannerCode)) { return; } if (window.banners[bannerCode].rtbDisabled) { ads.showDfp(bannerCode, false); } else { yandex.showRtb({ bannerCode: bannerCode, passbackFn: yandex.passback.bind(null, bannerCode, false) }); } })('vr_top'); </script> <script>window.avito.ads.addBannerBorder('ads_vr_top');</script> <script>window.avito.ads.showDfp('tgb1', false);</script> <script>window.avito.ads.addBannerBorder('ads_tgb1');</script> <script> (function (bannerCode) { var adfoxPageId = window.banners.isYandexTestId ? window.banners[bannerCode].adfoxTestPageId : window.banners[bannerCode].adfoxPageId; if (!window.Ya || !window.Ya.adfoxCode) { window.avito.ads.showDfp(bannerCode, false); } else { window.avito.ads.yandex.showAdFox(bannerCode, adfoxPageId, false); } }('vr_low')); </script> <script>window.avito.ads.addBannerBorder('ads_vr_low');</script> <script>window.avito.ads.showDfp('ldr_low', false);</script> <script> (function() { document.getElementById('li_button').innerHTML = "<img src='//counter.yadro.ru/hit;avito?t26.1;r" + escape(document.referrer) + ((typeof(screen)=="undefined")?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth)) + ";u" + escape(document.URL) + ";" + Math.random() + "' border=0 width=88 height=15 alt='' title='LiveInternet: показано число посетителей за сегодня'>"; })(); </script> <script src="//www.avito.st/s/cc/093676680537ee50bf9bc123f6e53dc1718b20e3.js?9b64553" ></script> <script src="//www.avito.st/s/cc/b6fd8cc33602f67a615f9358d6a50eeddffcddcf.js?8bd3d9a" ></script> <script src="//www.avito.st/s/cc/9470f2c40405059a729eeb04dfb27201e99c7171.js?a9a7623" ></script><script src="//www.avito.st/s/cc/a678923d55f8ba244d26e82ab521e81243a298cf.js?625e0bb" ></script> <script src="//www.avito.st/s/cc/3332b675a3d81c445349115803382d067ee64e8d.js?8773c84" ></script> <script src="//www.avito.st/s/cc/0f6bc2cd751734f3ab689a2d9617c365b9d753ad.js?e8b5c31" ></script> <script src="//www.avito.st/s/cc/33ba1967692dd77120fae437733d2e25fecf1e1c.js?c0aaab0" ></script> <script src="//www.avito.st/s/cc/54f701c931ad947a58fa95272e0d6b5ebbc93e18.js?33d33e3" ></script> <script src="//www.avito.st/s/cc/c270048c20a8f991809b779fb7457f865dcaaa66.js?88f44a7" ></script> <script>avito.tracking.trackGA("UA-2546784-1",[["_setDetectTitle",!1],["_setDomainName","avito.ru"]]);</script> <script> (function(w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = '//www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-KP9Q9H'); </script> <script> avito.tracking.trackGAUrl('\x2Fga_noresults\x3Fcategory\x3D\x26root_category\x3D'); if ( window.devicePixelRatio > 1 ) { avito.tracking.trackGAEvent('tracking', 'retina', 'catalog'); } </script> <script> avito.tracking.initCriteo(39534, 0); avito.tracking.trackCriteo({ event: "viewList", avito: "1", item: ['1089902574','1077112222','867588242'], keywords: "" }); function DM_prepClient(csid,client) { client.DM_addEncToLoc("category", 0); } var _comscore = _comscore || []; _comscore.push({ c1: "2", c2: "9829393", c4: document.location.href, c5: "SearchAll" }); (function() { var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true; s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js"; el.parentNode.insertBefore(s, el); })(); </script> <script> var img = new Image(); img.src = '//www.tns-counter.ru/V13a***R>' + document.referrer.replace(/\*/g,'%2a') + '*avito_ru/ru/CP1251/tmsec=avito_0/' + Math.round(Math.random() * 1000000000); </script> <script type="text/jаvаsсriрt"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter34241905 = new Ya.Metrika({ id:34241905, clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor: false }); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/jаvаsсriрt"; s.async = true; s.src = "https://mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <script>var google_conversion_id=987009030,google_conversion_label="f8JaCLLjvAQQhqDS1gM",google_custom_params=window.google_tag_params,google_remarketing_only=!0;</script>