Created
November 2, 2011 21:25
-
-
Save nmu/1334977 to your computer and use it in GitHub Desktop.
ad code triggering font parser
This file contains 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
Triggering: | |
document.write('<iframe src="http://view.atdmt.com/NDM/iview/140262768/direct/01/0058310713?click=http://r1-ads.ace.advertising.com/click/site=0000798472/mnum=0000702208/cstr=98586526=_4eb1b419,0058310713,798472_702208_1183_0,1_/xsxdata=$XSXDATA/bnum=98586526/optn=64?trg=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="300" height="250">');document.write('<a href="http://r1-ads.ace.advertising.com/click/site=0000798472/mnum=0000702208/cstr=98586526=_4eb1b419,0058310713,798472_702208_1183_0,1_/xsxdata=$xsxdata/bnum=98586526/optn=64?trg=http://clk.atdmt.com/NDM/go/140262768/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/NDM/view/140262768/direct/01/" /></a></iframe>'); | |
var can_adInfoTag = {}; | |
can_adInfoTag["0058310713"] = { | |
"CAN_ver": "0.1", | |
"CAN_ann": "Advertising.com", | |
"CAN_anl": "http://advertising.aol.com/privacy/advertisingcom/opt-out", | |
"CAN_maf": "Y" | |
}; | |
Source: http://r1-ads.ace.advertising.com/site=798472/size=300250/u=2/bnum=98586526/hr=16/hl=1/c=3/scres=5/swh=1920x1080/tile=1/f=2/r=1/optn=1/fv=10/aolexp=0/dref=http%253A%252F%252F50.56.24.39%252Foutput%252Ftpm_frontpage_new.html | |
Non-triggering: | |
function dclkToObject(id) { | |
if(document.layers){ | |
return (document.layers[id])?eval(document.layers[id]):null; | |
} | |
else if(document.all && !document.getElementById){ | |
return (eval("window."+id))?eval("window."+id):null; | |
} | |
else if(document.getElementById && document.body.style) { | |
return (document.getElementById(id))?eval(document.getElementById(id)):null; | |
} | |
} | |
function dclkFlashWrite(string){ | |
document.write(string); | |
} | |
function dclkFlashInnerHTML(htmlElementId,code){ | |
var x=dclkToObject(htmlElementId); | |
if(x){ | |
if(document.getElementById||document.all){ | |
x.innerHTML=''; | |
x.innerHTML=code; | |
} | |
else if(document.layers){ | |
x.document.open(); | |
x.document.write(code); | |
x.document.close(); | |
} | |
} | |
} | |
Source:http://s0.2mdn.net/879366/flashwrite_1_2.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment