Skip to content

Instantly share code, notes, and snippets.

@ledil
Created November 30, 2018 14:45
Show Gist options
  • Save ledil/5d120d096c1b99de1180f04a51f26b77 to your computer and use it in GitHub Desktop.
Save ledil/5d120d096c1b99de1180f04a51f26b77 to your computer and use it in GitHub Desktop.
<script language="Javascript1.1" type="text/javascript">
var ftClick = getRequestParameter('target',location.href);
var ftExpTrack_3096092 = "";
var ftX = "";
var ftY = "";
var ftZ = "";
var ftOBA = 1;
var ftContent = "";
var ftCustom = "";
var ft1920x1080_OOBclickTrack = "";
var ftRandom = Math.random()*1000000;
var ftBuildTag1 = "<scr";
var ftBuildTag2 = "</";
var ftClick_3096092 = ftClick;
if(typeof(ft_referrer)=="undefined"){var ft_referrer=(function(){var r="";if(window==top){r=window.location.href;}else{try{r=window.parent.location.href;}catch(e){}r=(r)?r:document.referrer;}while(encodeURIComponent(r).length>1000){r=r.substring(0,r.length-1);}return r;}());}
var ftDomain = (window==top)?"":(function(){var d=document.referrer,h=(d)?d.match("(?::q/q/)+([qw-]+(q.[qw-]+)+)(q/)?".replace(/q/g,decodeURIComponent("%"+"5C")))[1]:"";return (h&&h!=location.host)?"&ft_ifb=1&ft_domain="+encodeURIComponent(h):"";}());
var ftTag = ftBuildTag1 + 'ipt language="javascript1.1" type="text/javascript" ';
ftTag += 'src="https://servedby.flashtalking.com/imp/2/91362;3096092;201;js;IPDeutschland;TVNOWRotationPCPTOUnderlay/?ftx='+ftX+'&fty='+ftY+'&ftadz='+ftZ+'&ftscw='+ftContent+'&ft_custom='+ftCustom+'&ftOBA='+ftOBA+ftDomain+'&ft_agentEnv='+(window.mraid||window.ormma?'1':'0')+'&ft_referrer='+encodeURIComponent(ft_referrer)+'&cachebuster='+ftRandom+'" id="ftscript_1920x1080" name="ftscript_1920x1080"';
ftTag += '>' + ftBuildTag2 + 'script>';
document.write(ftTag);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment