Sometimes Adsense never stops loading and it keeps sIFR from loading up. Is there a workaround or a javascript to force stop the browser after a certain time or something?

Comments

sun’s picture

Status: Active » Closed (works as designed)

This is because the HTML code that loads javascript for adsense is executed in front of sIFR. This might be caused by the module names, 'A' comes before 'S'.

In the AdSense module, you might alter the line
drupal_add_js('<filename>', 'module')
to
drupal_add_js('<filename>', 'theme')
or alternatively to
drupal_add_js('<filename>', 'module', 'footer')

See http://api.drupal.org/api/function/drupal_add_js/5 for further information.