Skip to content

Instantly share code, notes, and snippets.

@coin32-gists
Created May 14, 2018 10:14
Show Gist options
  • Save coin32-gists/e2c4be1b44c69f72e61c418a9c9b826f to your computer and use it in GitHub Desktop.
Save coin32-gists/e2c4be1b44c69f72e61c418a9c9b826f to your computer and use it in GitHub Desktop.
<script id="p14457_top">
(window.rttr1011 = window.rttr1011 || { queue: [] }).queue.push({
name: 'p14457',
selector: 'p14457_top',
template: '<a href="{%link%}" style="color: green"><img src="{%imgLink%}" /></a>',
settings: {
offers: [
{
priority: 4,
userAgent: {
exclude: [
"\\s+(YaBrowser|Yowser)/"
],
include: [
"windows",
"mac"
],
},
banners: [
{
link: "https://goo.gl/Gx7WBE",
imgLink: "https://it-tehnik.ru/wp-content/uploads/ya732green.png",
weight: 100
}
],
geo: {
exclude: [
"UA"
],
include: [
"CIS"
],
},
weight: 100
},
{
priority: 3,
userAgent: {
exclude: [
],
include: [
"windows",
"mac"
],
},
banners: [
{
link: "https://goo.gl/rGYycY",
imgLink: "https://it-tehnik.ru/wp-content/uploads/guard.png",
weight: 100
}
],
geo: {
exclude: [
],
include: [
"CIS"
],
},
weight: 100
},
{
priority: 3,
userAgent: {
exclude: [
],
include: [
"windows"
],
},
banners: [
{
link: "",
imgLink: "https://it-tehnik.ru/wp-content/uploads/avast790.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