My no adblock code is getting altered on save
-
I use Project Wonderful for my ads. When I ad their code, the ABD plugin changes it, by adding <p> and
tags. Seemingly innocent, it creates big white gaps around the ad. I cannot edit it either without them re-appearing in unpredictable ways.Original:
<!-- Project Wonderful Ad Box Loader --> <script type="text/javascript"> (function(){function pw_load(){ if(arguments.callee.z)return;else arguments.callee.z=true; var d=document;var s=d.createElement('script'); var x=d.getElementsByTagName('script')[0]; s.type='text/javascript';s.async=true; s.src='//www.projectwonderful.com/pwa.js'; x.parentNode.insertBefore(s,x);} if (window.attachEvent){ window.attachEvent('DOMContentLoaded',pw_load); window.attachEvent('onload',pw_load);} else{ window.addEventListener('DOMContentLoaded',pw_load,false); window.addEventListener('load',pw_load,false);}})(); </script> <!-- End Project Wonderful Ad Box Loader --> <!-- Project Wonderful Ad Box Code --> <div id="pw_adbox_73327_5_0"></div> <script type="text/javascript"></script> <noscript><map name="admap73327" id="admap73327"><area href="http://www.projectwonderful.com/out_nojs.php?r=0&c=0&id=73327&type=5" shape="rect" coords="0,0,728,90" title="" alt="" target="_blank" /></map> <table cellpadding="0" cellspacing="0" style="width:728px;border-style:none;background-color:#ffffff;"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=73327&type=5" style="width:728px;height:90px;border-style:none;" usemap="#admap73327" alt="" /></td></tr></table> </noscript> <!-- End Project Wonderful Ad Box Code -->
Altered:
`<p><!– Project Wonderful Ad Box Loader –>
<script type=”text/javascript”>
(function(){function pw_load(){
if(arguments.callee.z)return;else arguments.callee.z=true;
var d=document;var s=d.createElement(‘script’);
var x=d.getElementsByTagName(‘script’)[0];
s.type=’text/javascript’;s.async=true;
s.src=’//www.projectwonderful.com/pwa.js’;
x.parentNode.insertBefore(s,x);}
if (window.attachEvent){
window.attachEvent(‘DOMContentLoaded’,pw_load);
window.attachEvent(‘onload’,pw_load);}
else{
window.addEventListener(‘DOMContentLoaded’,pw_load,false);
window.addEventListener(‘load’,pw_load,false);}})();
</script>
<!– End Project Wonderful Ad Box Loader –>
<!– Project Wonderful Ad Box Code –></p>
<div id=”pw_adbox_73327_5_0″></div>
<p><script type=”text/javascript”></script></p>
<noscript>
<map name=”admap73327″ id=”admap73327″>
<area href=”http://www.projectwonderful.com/out_nojs.php?r=0&c=0&id=73327&type=5″ shape=”rect” coords=”0,0,728,90″ title=”” alt=”” target=”_blank” /></map>
<table cellpadding=”0″ cellspacing=”0″ style=”width:728px;border-style:none;background-color:#ffffff;”>
<tr>
<td><img src=”http://www.projectwonderful.com/nojs.php?id=73327&type=5″ style=”width:728px;height:90px;border-style:none;” usemap=”#admap73327″ alt=”” /></td>
</tr>
</table>
</noscript>
<p><!– End Project Wonderful Ad Box Code –></p>’
- The topic ‘My no adblock code is getting altered on save’ is closed to new replies.