Closed mmatzanke closed 10 years ago
Odd, this should be caught by postscribe. Can you setup a repro on plunker or jsfiddle. Here's the area where that happens: https://github.com/krux/postscribe/blob/master/postscribe.js#L570
OMG I'm sorry .. the script was returning this nice one here:
postscribe( element, "<script>document.open();document.writeln('<div id=\"ntImgDiv_434378998\" style=\"width:728px;height:90px\">');document.writeln('<a href=\"https:\/\/ads.newtention.net\/ads?et=2&se=m&bi=594966&cs=4580&motif=303297&am=321027&rndm=3094&rt=6&cu=422165&cr=http%3A%2F%2Fadclick.g.doubleclick.net%2Faclk%253Fsa%253DL%2526ai%253DBU3f9H9JYU7ynJJHAiQaaxIHQCLahmoUHAAAAEAEgADgAWMa7l_aLAWCV2oiCmAeCARdjYS1wdWItMzU1ODY1MTYyMTg1OTY3NrIBEmJlc3RlLWFwcHMuY2hpcC5kZboBCWdmcF9pbWFnZcgBCdoBXWh0dHA6Ly9iZXN0ZS1hcHBzLmNoaXAuZGUvYW5kcm9pZC9hcHAvdm9sbHZlcnNpb24tY2l0eS1tYXBzLTJnby1wcm8tYW5kcm9pZC1hcHAsY3hvLjY4OTc1NTY0L5gC6gepApGly60UM7c-wAIC4AIA6gIlMzY3My9jaGlwX2Jlc3RlX2FwcHNfc2l0ZXJvdGEvYW5kcm9pZPgChNIekAPIBpgDyAaoAwHgBAGgBh8%2526num%253D0%2526sig%253DAOD64_01-Wm9VvmjrmNYRqPOUxna5tdMrA%2526client%253Dca-pub-3558651621859676%2526adurl%253D%5B%5Breredirect_plain%5D%5D\" target=\"_blank\">');document.writeln(' <img src=\"https:\/\/ads.newtentionassets.net\/asset\/1117\/1899\/3211\/303297\/DE_BOSS_Summer_MW_728x90.jpg\" width=\"728\" height=\"90\" alt=\"\" border=\"0\">');document.writeln(' <\/a>');document.writeln('<\/div>');document.close();</script>" );
nice agency code ...
this one contains document.open and close.
Sry, but probably i've to handle this.
Thanks for your help!
Some adcall responding scripts deliver document.writeln code. I can't find any code within postscibe for handling these stuff. I will try to fix this issue but probably you will be faster ;D
Thanks in advance! Martin