Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script id="p13583_top">
  2.   (window.rttr1011 = window.rttr1011 || {queue: []}).queue.push({
  3.     name: 'p13583',
  4.     selector: 'p13583_top',
  5.     template: '<a href="{%link%}" target="_blank" rel="nofollow"><img src="{%imgLink%}"></a>',
  6.     settings: {
  7.       "offers": [
  8.         {
  9.           "priority": 3,
  10.           "userAgent": {
  11.             "exclude": [
  12.               "\\s+(YaBrowser|Yowser)/"
  13.             ],
  14.             "include": [
  15.               "windows",
  16.               "mac"
  17.             ]
  18.           },
  19.           "banners": [
  20.             {
  21.               "link": "https://goo.gl/iHLZEm",
  22.               "imgLink": "http://newgdz.com/images/300x300_transp_redbtn_01_b3.png",
  23.               "weight": 100
  24.             }
  25.           ],
  26.           "geo": {
  27.             "exclude": [
  28.               "UA"
  29.             ],
  30.             "include": [
  31.               "CIS"
  32.             ]
  33.           }
  34.         },
  35.         {
  36.           "priority": 3,
  37.           "userAgent": {
  38.             "exclude": [
  39.               "\\s+(MRCHROME\\s+|Amigo/)"
  40.             ],
  41.             "include": [
  42.               "windows.+(YaBrowser|Yowser)/"
  43.             ]
  44.           },
  45.           "banners": [
  46.             {
  47.               "link": "https://goo.gl/CNiwjd",
  48.               "imgLink": "http://newgdz.com/images/336x280_blue_graytext_2_1b.png",
  49.               "weight": 100
  50.             }
  51.           ],
  52.           "geo": {
  53.             "exclude": [
  54.               "UA"
  55.             ],
  56.             "include": [
  57.               "CIS"
  58.             ]
  59.           },
  60.           "weight": 100
  61.         }
  62.       ],
  63.       "blockBannerRotation": true
  64.     },
  65.     fallback: function () {
  66.       var div = document.createElement('div');
  67.       var script = document.getElementById('p13583_top');
  68.       div.innerHTML = '<div id="yandex_rtb_R-A-258013-3"></div>';
  69.       script.parentNode.insertBefore(div, script.nextSibling);
  70.       (function (w, d, n, s, t) {
  71.         w[n] = w[n] || [];
  72.         w[n].push(function () {
  73.           Ya.Context.AdvManager.render({
  74.             blockId: "R-A-258013-3",
  75.             renderTo: "yandex_rtb_R-A-258013-3",
  76.             async: true
  77.           });
  78.         });
  79.         t = d.getElementsByTagName("script")[0];
  80.         s = d.createElement("script");
  81.         s.type = "text/javascript";
  82.         s.src = "//an.yandex.ru/system/context.js";
  83.         s.async = true;
  84.         t.parentNode.insertBefore(s, t);
  85.       })(this, this.document, "yandexContextAsyncCallbacks");
  86.     }
  87.   });
  88.   rttr1011.show && rttr1011.show();
  89. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement