I am working on integrating an advertising provider specific to the genre of my forum. The javascript code they provide uses the document.write
element which I know does not behave with NodeBB.
Would someone be willing to take a crack at tweaking the following ad code to work with this software?
<!--BANNER 920x120 - DO NOT MODIFY-->
<script type="text/javascript"><!--
document.write('<s'+'cript type="text/javascript" src="https://fsadwork.com/show.php?z=32&pl=99&j=1&code='+new Date().getTime()+'"></s'+'cript>');
// --></script>
<noscript>
<iframe src="https://fsadwork.com/show.php?z=32&pl=99" width="920" height="120" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
</noscript>
<!--BANNER 920x120 - DO NOT MODIFY-->
I think the <noscript> ... </noscript>
stuff at the end could probably go away since NodeBB requires javascript but I don't know how I would take the document.write
line and reformat it to use, let's say, document.getElementById
(or some other tag).
All help is greatly appreciated.
Thanks in advance.