Both in OS X.

FIREFOX

 <script type="text/javascript">
//<![CDATA[
  $(document).ready(function(){ jQuery("div#group-id-0").load("http://www.correntewire.com/sites/all/modules/ad/serve.php?m=jquery&q=3&c=file&f=10&p=files&t=8280&u=node%2F20147"); });
 //]]>
 </script>
 

Note the "%2F20147" in FF does not load in Safarie

SAFARI

 <script type="text/javascript">
//<![CDATA[
  $(document).ready(function(){ jQuery("div#group-id-0").load("http://www.correntewire.com/sites/all/modules/ad/serve.php?m=jquery&q=3&c=file&f=10&p=files&t=8280&u=node"); });
 //]]>
 </script>
 

Comments

shunting’s picture

Typo!

This:

Note the "%2F20147" in FF does not load in Safarie

should read:

Note the "%2F20147" in FF, which does not load. Safari does load.

shunting’s picture

More --

Realizing that %2F was percent-code for slash, I noticed that 20147 was the nid of the first node on the front page, so I stripped it from the URL just to see what would happen. Before line 209 in ad.module

    $end = strpos($display,'%2F');
    $display = $end !== FALSE ? substr($display,0,$end) : $display;

That cleans up the URL in FF, but the ad in the ad group still does not display in FF.

The only thing that makes the ad in the ad group display in FF 3.014 (OS X) is raw. Not jquery, not javascript, not iframe.

serkan.arikusu’s picture

I can confirm this, only raw mode works; html ads do not show in FF/IE when using Javascript or Jquery.

jeremy’s picture

Status: Active » Fixed

Do you have any ad blockers enabled? Ads display fine in all browsers in my testing. If ads are only working in Raw mode for you then you probably have an ad blocker enabled...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.