Forum Moderators: skibum

Message Too Old, No Replies

Adbright script and xhtml

Anybody else modify for compliance?

         

twist

6:54 pm on Jun 4, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There really isn't a great FAQ on adbrites page and the last time I emailed adbrite I got a reply about a week later that didn't really answer my question anyway. So i'll give WW a try.

I read in their TOS that you can't modify the javascript. The rest of their script uses & for ampersands but their main script that calls the ads uses just a & causing the usual xhtml error. I modified it and was wondering if they will care or even notice. For that matter I modified quite a bit of the code but can't imagine why they would care. For example,

I modified this,

<!-- Begin: AdBrite -->
<style type="text/css">
.adHeadline {font: bold 10pt Arial; text-decoration: underline; color: blue;}
.adText {font: normal 10pt Arial; text-decoration: none; color: black;}
</style>
<script type="text/javascript"
src="http://example.com/page.php?sid=num&amp;br=num"></script>
<p />
<div><a class="adHeadline" target="_top"
href="http://example.com/page.php?opid=number&amp;afsid=num">
Your Ad Here</a></div>
<!-- End: AdBrite -->

to this,

* I moved the css into my stylesheet and removed the target="_top"

<script type="text/javascript"
src="http://example.com/page.php?sid=num&amp;br=num"></script>
<a class="t10 tcol" href="http://example.com/page.php?opid=num&amp;afsid=num">
Add your website to the above list</a>

I'd almost rather not email them since they would probably never notice anyway unless I emailed them pointing it out. Anybody have any experience with this? The only posts I can find on WW about Adbrite seem to be "can I have adbright and adsense together" which doesn't help me much.

twist

4:05 pm on Jun 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just in case someone ever comes across this thread.

I read the source on one of Adbrights top 10 sites, they basicaly have done the exact same thing I have done. If one of their top 10 sites can change the javascript the same way I have then i'll just assume its ok with them.