Q&A
Mr. Pickles the AdPlugg Pug

Google Web Designer ad displaying js code in adplugg

+1
0
-1

Hello,

This is a reply to a comment from a previous question I asked but it disappeared after I posted it so I'm not sure if it went through.

I've created and uploaded an html5 test zip file from Google Web Designer (Not sure if you can see this, but here's the ad link https://www.adplugg.com/apusers/ad/ads/70510 )

I uploaded that same file to https://www.previewads.com/html5-ad-tester , and it displays and functions as intended.

However, when I upload that same zip file to adplugg, it displays this code below (even in preview). I'm thinking its a parsing issue as adplugg has truncated the js from the ad and outputted it as a string, but I have no idea why.  

"+a+"");return(new DOMParser).parseFromString(N(a),"text/html").body.children[0]} function Lb(a,b){if(!a)return Ka;var c=document.createElement("div").style;Ob(a).forEach(function(d){var e=qa&&d in Ib?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");0!=e.lastIndexOf("--",0)&&0!=e.lastIndexOf("var",0)&&(d=Eb(a,d),d=jb(e,d,b),null!=d&&Fb(c,e,d))});return new J(c.cssText||"",I)} function Pb(a){var b=Array.from(W(pb,a,"getElementsByTagName",["STYLE"])),c=ma(b,function(h){return la(Cb(h).cssRules)});c=Kb(c);for(var d=[],e=0;el?1:nm?1:g"+d+""),Pb(d),d=d.innerHTML);d=Wa(d);var e=document.createElement("template"); if(Wb&&"content"in e)$a(e,d),e=e.content;else{var f=document.implementation.createHTMLDocument("x");e=f.body;$a(f.body,d)}d=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,null,!1);for(e=Rb?new WeakMap:new Tb;f=d.nextNode();){c:{var h=c;var k=f;switch(Db(k)){case 3:h=nc(h,k);break c;case 1:if("TEMPLATE"==X(k).toUpperCase())h=null;else{var g=X(k).toUpperCase();if(g in h.l||"http://www.w3.org/1999/xhtml"!=Gb(k))var m=null;else h.i[g]?m=document.createElement(g):(m=O(),h.v&& Ab(m,"data-sanitizer-original-tag",g.toLowerCase()));if(m){var t=m,q=zb(k);if(null!=q)for(var n=0;g=q[n];n++)if(g.specified){var l=h;var R=k,S=g,F=S.name;if(0==F.lastIndexOf("data-sanitizer-",0))l=null;else{var Xa=X(R);S=S.value;var sa={tagName:x(Xa).toLowerCase(),attributeName:x(F).toLowerCase()},ta={o:void 0};"style"==sa.attributeName&&(ta.o=Bb(R));R=lc(Xa,F);R in l.h?(l=l.h[R],l=l(S,sa,ta)):(F=lc(null,F),F in l.h?(l=l.h[F],l=l(S,sa,ta)):l=null)}null!==l&&Ab(t,g.name,l)}h=m}else h=null}break c; default:h=null}}if(h){if(1==Db(h)&&e.set(f,h),f=Y(f),k=!1,f)g=Db(f),m=X(f).toLowerCase(),t=Y(f),11!=g||t?"body"==m&&t&&(g=Y(t))&&!Y(g)&&(k=!0):k=!0,g=null,k||!f?g=b:1==Db(f)&&(g=e.get(f)),g.content&&(g=g.content),g.appendChild(h)}else for(h=f;f=h.firstChild;)h.removeChild(f)}e.clear&&e.clear();c=b}else c=O();0")+1,c.lastIndexOf("

 



I think that we will be able to better assist you via email. Please contact us via the Contact link at the top of the page. Thanks! -Collin

Answers