MediaWiki:Common.js/ym.js — различия между версиями

Материал Psylab.info - энциклопедии психодиагностики
Перейти к: навигация, поиск
(Новая страница: «<!-- Yandex.Metrika informer --> <a href="https://metrika.yandex.ru/stat/?id=27715605&from=informer" target="_blank" rel="nofollow"><img src="//bs.yandex.ru/i…»)
 
м
 
(не показаны 3 промежуточные версии этого же участника)
Строка 1: Строка 1:
<!-- Yandex.Metrika informer -->
 
<a href="https://metrika.yandex.ru/stat/?id=27715605&amp;from=informer"
 
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/27715605/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
 
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:27715605,lang:'ru'});return false}catch(e){}"/></a>
 
<!-- /Yandex.Metrika informer -->
 
 
 
<!-- Yandex.Metrika counter -->
 
<!-- Yandex.Metrika counter -->
<script type="text/javascript">
 
 
(function (d, w, c) {
 
(function (d, w, c) {
 
     (w[c] = w[c] || []).push(function() {
 
     (w[c] = w[c] || []).push(function() {
 
         try {
 
         try {
             w.yaCounter27715605 = new Ya.Metrika({id:27715605,
+
             w.yaCounter27715605 = new Ya.Metrika({
                    webvisor:true,
+
                id:27715605,
                    clickmap:true,
+
                webvisor:true,
                    trackLinks:true,
+
                clickmap:true,
                    accurateTrackBounce:true});
+
                accurateTrackBounce:true,
 +
                trackHash:true
 +
            });
 
         } catch(e) { }
 
         } catch(e) { }
 
     });
 
     });
Строка 24: Строка 19:
 
     s.async = true;
 
     s.async = true;
 
     s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
 
     s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
 
+
   
 
     if (w.opera == "[object Opera]") {
 
     if (w.opera == "[object Opera]") {
 
         d.addEventListener("DOMContentLoaded", f, false);
 
         d.addEventListener("DOMContentLoaded", f, false);
 
     } else { f(); }
 
     } else { f(); }
 
})(document, window, "yandex_metrika_callbacks");
 
})(document, window, "yandex_metrika_callbacks");
</script>
 
<noscript><div><img src="//mc.yandex.ru/watch/27715605" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
 
 
<!-- /Yandex.Metrika counter -->
 
<!-- /Yandex.Metrika counter -->

Текущая версия на 20:09, 28 декабря 2014

<!-- Yandex.Metrika counter -->
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter27715605 = new Ya.Metrika({
                id:27715605,
                webvisor:true,
                clickmap:true,
                accurateTrackBounce:true,
                trackHash:true
            });
        } catch(e) { }
    });

    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";
    
    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
<!-- /Yandex.Metrika counter -->