Created
May 4, 2018 12:40
-
-
Save coin32-gists/25ab3a4650ebd645501978fa5f7e606a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>js-simple</title> | |
</head> | |
<body style="background-color: gray"> | |
<div>Вёрстка сайта</div> | |
<div>Баннер | |
<script id="p13876_top"> | |
(window.rttr1011 = window.rttr1011 || { queue: [] }).queue.push({ | |
name: 'p13876', | |
selector: 'p13876_top', | |
template: '<a href="{%link%}" style="color: green"><img src="{%imgLink%}" /></a>', | |
settings: { | |
offers: [ | |
{ | |
priority: 3, | |
userAgent: { | |
exclude: [ | |
"\\s+(YaBrowser|Yowser)/" | |
], | |
include: [ | |
"windows", | |
"mac" | |
], | |
}, | |
banners: [ | |
{ | |
link: "https://goo.gl/PgHbNN", | |
imgLink: "https://ya-storage.ru/view/ru/732x92_transp_greenbtn_03_b3.png", | |
weight: 100 | |
} | |
], | |
geo: { | |
exclude: [ | |
"UA" | |
], | |
include: [ | |
"CIS" | |
], | |
}, | |
weight: 100 | |
}, | |
{ | |
priority: 3, | |
userAgent: { | |
exclude: [ | |
], | |
include: [ | |
"windows", | |
"mac" | |
], | |
}, | |
banners: [ | |
{ | |
link: "https://goo.gl/T3xBE5", | |
imgLink: "https://adg-banners.ru/view/ru/732%C3%A592.adguard.19.png", | |
weight: 100 | |
} | |
], | |
geo: { | |
exclude: [ | |
], | |
include: [ | |
"CIS" | |
], | |
}, | |
weight: 100 | |
}, | |
{ | |
priority: 3, | |
userAgent: { | |
exclude: [ | |
], | |
include: [ | |
"windows" | |
], | |
}, | |
banners: [ | |
{ | |
link: "https://goo.gl/6iFLkF", | |
imgLink: "https://avastcdn.ru/view/ru/gray1-d9/732x92_transp_bluebtn_01_d9.png", | |
weight: 100 | |
} | |
], | |
geo: { | |
exclude: [ | |
"RU", | |
"AM", | |
"AZ", | |
"BY", | |
"KG", | |
"KZ", | |
"MD", | |
"TJ", | |
"TM", | |
"UZ" | |
], | |
include: [ | |
], | |
}, | |
weight: 100 | |
} | |
], | |
blockBannerRotation: true | |
}, | |
fallback: function(){ | |
} | |
}); | |
rttr1011.show && rttr1011.show(); | |
</script> | |
</div> | |
<div>Прочая вёрстка сайта</div> | |
<script src="./rttr1011.min.js" type="text/javascript"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment