MediaWiki:Yandex.js: различия между версиями

Материал из AERIE Wiki
(Новая страница: « (function(w, d, n, s, t) { w[n] = w[n] || []; w[n].push(function() { Ya.Context.AdvManager.render({ blockId: "R-A-...»)
 
м (Защитила страницу MediaWiki:Yandex.js ([Редактирование=Разрешено только администраторам] (бессрочно) [Переименование=Разрешено только администраторам] (бессрочно)))
 
(не показана 1 промежуточная версия этого же участника)
Строка 5: Строка 5:
 
                 blockId: "R-A-290854-1",
 
                 blockId: "R-A-290854-1",
 
                 renderTo: "yandex_rtb_R-A-290854-1",
 
                 renderTo: "yandex_rtb_R-A-290854-1",
 +
                async: true
 +
            });
 +
        });
 +
        t = d.getElementsByTagName("script")[0];
 +
        s = d.createElement("script");
 +
        s.type = "text/javascript";
 +
        s.src = "//an.yandex.ru/system/context.js";
 +
        s.async = true;
 +
        t.parentNode.insertBefore(s, t);
 +
    })(this, this.document, "yandexContextAsyncCallbacks");
 +
 +
    (function(w, d, n, s, t) {
 +
        w[n] = w[n] || [];
 +
        w[n].push(function() {
 +
            Ya.Context.AdvManager.render({
 +
                blockId: "R-A-290854-4",
 +
                renderTo: "yandex_rtb_R-A-290854-4",
 
                 async: true
 
                 async: true
 
             });
 
             });

Текущая версия на 12:34, 11 апреля 2020

    (function(w, d, n, s, t) {
        w[n] = w[n] || [];
        w[n].push(function() {
            Ya.Context.AdvManager.render({
                blockId: "R-A-290854-1",
                renderTo: "yandex_rtb_R-A-290854-1",
                async: true
            });
        });
        t = d.getElementsByTagName("script")[0];
        s = d.createElement("script");
        s.type = "text/javascript";
        s.src = "//an.yandex.ru/system/context.js";
        s.async = true;
        t.parentNode.insertBefore(s, t);
    })(this, this.document, "yandexContextAsyncCallbacks");

    (function(w, d, n, s, t) {
        w[n] = w[n] || [];
        w[n].push(function() {
            Ya.Context.AdvManager.render({
                blockId: "R-A-290854-4",
                renderTo: "yandex_rtb_R-A-290854-4",
                async: true
            });
        });
        t = d.getElementsByTagName("script")[0];
        s = d.createElement("script");
        s.type = "text/javascript";
        s.src = "//an.yandex.ru/system/context.js";
        s.async = true;
        t.parentNode.insertBefore(s, t);
    })(this, this.document, "yandexContextAsyncCallbacks");