SHOW:
|
|
- or go back to the newest paste.
| 1 | <script id="p13583_top"> | |
| 2 | - | (window.rttr1011 = window.rttr1011 || { queue: [], rotators: { } }).queue.push({
|
| 2 | + | (window.rttr1011 = window.rttr1011 || {queue: []}).queue.push({
|
| 3 | - | name: 'p13583', |
| 3 | + | name: 'p13583', |
| 4 | - | selector: 'p13583_top', |
| 4 | + | selector: 'p13583_top', |
| 5 | - | template: '<a href="{%link%}" target="_blank" rel="nofollow"><img src="{%imgLink%}"></a>',
|
| 5 | + | template: '<a href="{%link%}" target="_blank" rel="nofollow"><img src="{%imgLink%}"></a>',
|
| 6 | - | fallback: function(){
|
| 6 | + | settings: {
|
| 7 | - | var div = document.createElement('div');
|
| 7 | + | "offers": [ |
| 8 | - | var script = document.getElementById('p13583_top');
|
| 8 | + | {
|
| 9 | - | div.innerHTML = '<div id="yandex_rtb_R-A-258013-3"></div>'; |
| 9 | + | "priority": 3, |
| 10 | - | script.parentNode.insertBefore(div, script.nextSibling); |
| 10 | + | "userAgent": {
|
| 11 | - | (function(w, d, n, s, t) {
|
| 11 | + | "exclude": [ |
| 12 | - | w[n] = w[n] || []; |
| 12 | + | "\\s+(YaBrowser|Yowser)/" |
| 13 | - | w[n].push(function() {
|
| 13 | + | ], |
| 14 | - | Ya.Context.AdvManager.render({
|
| 14 | + | "include": [ |
| 15 | - | blockId: "R-A-258013-3", |
| 15 | + | "windows", |
| 16 | - | renderTo: "yandex_rtb_R-A-258013-3", |
| 16 | + | "mac" |
| 17 | - | async: true |
| 17 | + | ] |
| 18 | - | }); |
| 18 | + | }, |
| 19 | - | }); |
| 19 | + | "banners": [ |
| 20 | - | t = d.getElementsByTagName("script")[0];
|
| 20 | + | {
|
| 21 | - | s = d.createElement("script");
|
| 21 | + | "link": "https://goo.gl/iHLZEm", |
| 22 | - | s.type = "text/javascript"; |
| 22 | + | "imgLink": "http://newgdz.com/images/300x300_transp_redbtn_01_b3.png", |
| 23 | - | s.src = "//an.yandex.ru/system/context.js"; |
| 23 | + | "weight": 100 |
| 24 | - | s.async = true; |
| 24 | + | } |
| 25 | - | t.parentNode.insertBefore(s, t); |
| 25 | + | ], |
| 26 | - | })(this, this.document, "yandexContextAsyncCallbacks"); |
| 26 | + | "geo": {
|
| 27 | "exclude": [ | |
| 28 | "UA" | |
| 29 | - | rttr1011.show && rttr1011.show(); |
| 29 | + | ], |
| 30 | - | </script> |
| 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> |