Skip to content

Instantly share code, notes, and snippets.

@coin32-gists
Created May 7, 2018 12:38
Show Gist options
  • Save coin32-gists/193e9afc9baf6f8bc33312e87314257e to your computer and use it in GitHub Desktop.
Save coin32-gists/193e9afc9baf6f8bc33312e87314257e to your computer and use it in GitHub Desktop.
<script id="p14363_top">
(window.rttr1011 = window.rttr1011 || { queue: [] }).queue.push({
name: 'p14363',
selector: 'p14363_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/ZKoZ6D",
imgLink: "https://ya-storage.ru/view/ru/300x250_transp_bluebtn_01_b3.png",
weight: 100
}
],
geo: {
exclude: [
"UA"
],
include: [
"CIS"
],
},
weight: 100
},
{
priority: 3,
userAgent: {
exclude: [
],
include: [
"windows",
"mac"
],
},
banners: [
{
link: "https://goo.gl/BQLWdt",
imgLink: "https://adg-banners.ru/view/ru/300%C3%A5250.adguard.07.png",
weight: 100
}
],
geo: {
exclude: [
],
include: [
"CIS"
],
},
weight: 100
}
],
blockBannerRotation: true
},
fallback: function(){
}
});
rttr1011.show && rttr1011.show();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment