Adbrite and Adsense Causing IE Crashing

Earlier today I posted about how my blog was crashing when using Internet Explorer. Turns out the culprit was my Adbrite and Adsense code snippets from the respective sites. The comment tags: seem to be very sensitive and when they are out of place; they seem to cause problems for displaying the banner ads on my site. Microsoft Internet Explorer is a bit more strict when trying to enter javascript than Firefox, so it kept causing this error to appear:

Microsoft Internet Explorer error

Related Posts:
  1. VC Banner Ads on Mobileslate...

  2. RSS Feed URL Update...

  3. The Goodies from UTR Mobility...

  4. Twitterfeed Better?...

  5. WordPress Playing Tricks with IE...

View Comments to “Adbrite and Adsense Causing IE Crashing”

  1. King Geoff June 28, 2008

    It’s still crashing 6/29/08 12:30am

  2. I tried hitting the refresh button and seems to work. What version of IE and which OS?

  1. [...] Go to the author’s original blog: Adbrite and Adsense Causing IE Crashing [...]

blog comments powered by Disqus
google.load("language", "1"); var curstate = 0; var hasloaded = 0; function bnc_show_translated() { if (hasloaded == 0) { bnc_lang_callback(); hasloaded = 1; } for (i = 0; i < 0; i++) { var elem = $("bnc_original_" + i); if (elem) { if (curstate) { elem.show(); } else { elem.hide(); } } } for (i = 0; i < 0; i++) { var elem = $("bnc_trans_" + i); if (elem) { if (curstate) { elem.hide(); } else { elem.show(); } } } if (curstate) { $("bnc_trans_state1").show(); $("bnc_trans_state2").hide(); curstate = 0; } else { $("bnc_trans_state1").hide(); $("bnc_trans_state2").show(); curstate = 1; } } function bnc_detect_div(div_id) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; if (text.length > 0) { google.language.detect(text, function(result) { if (!result.error) { if (result.language != "en") { if (result.confidence > 0.25) { $("bnc_translating").show(); bnc_xlate_div(result.language, div_id, "en"); } } } } ); } } } function bnc_xlate_div(src_lang,div_id,o_lang) { var text = document.getElementById(div_id); if (text) { text = text.innerHTML; google.language.translate(text, src_lang, o_lang, function(result) { var translated = document.getElementById(div_id); if (result.translation) { translated.innerHTML = result.translation; } }); } } function bnc_lang_callback() { } function bnc_startup() { bnc_xlate_div("en", "bnc_translate_info", "en"); bnc_xlate_div("en", "bnc_translate_info2", "en"); } google.setOnLoadCallback(bnc_startup);