title: Javascript errors from Google Adsense
body: <p>On several of my adsense running sites, I have been getting the following errors:</p>
  
  <blockquote>
    <p><strong>Unable to post message to [<a href="http://]googleads.g.doubleclick.net" rel="noreferrer">http://]googleads.g.doubleclick.net</a>.
    Recipient has origin
    <a href="http://www.anekdotz.com" rel="noreferrer">http://www.anekdotz.com</a>.</strong></p>
    
    <p>Unsafe JavaScript attempt to access
    frame with URL
    [<a href="http://]www.anekdotz.com/" rel="noreferrer">http://]www.anekdotz.com/</a> from frame
    with URL
    [<a href="http://]googleads.g.doubleclick.net/pagead/ads?client=ca-pub-9099580055602120&amp;output=html&amp;h=250&amp;slotname=9210181593&amp;w=300&amp;flash=10.0.42&amp;url=http%3A%2F%2Fwww.anekdotz.com%2F&amp;dt=1269901036429&amp;correlator=1269901036438&amp;frm=0&amp;ga_vid=711000587.1269901037&amp;ga_sid=1269901037&amp;ga_hid=654061172&amp;ga_fc=0&amp;u_tz=-240&amp;u_his=2&amp;u_java=1&amp;u_h=900&amp;u_w=1440&amp;u_ah=878&amp;u_aw=1436&amp;u_cd=24&amp;u_nplug=10&amp;u_nmime=101&amp;biw=1365&amp;bih=806&amp;eid=44901212&amp;fu=0&amp;ifi=1&amp;dtd=153&amp;xpc=Xkfk1oufPQ&amp;p=http%3A//www.anekdotz.com" rel="noreferrer">http://]googleads.g.doubleclick.net/pagead/ads?client=ca-pub-9099580055602120&amp;output=html&amp;h=250&amp;slotname=9210181593&amp;w=300&amp;flash=10.0.42&amp;url=http%3A%2F%2Fwww.anekdotz.com%2F&amp;dt=1269901036429&amp;correlator=1269901036438&amp;frm=0&amp;ga_vid=711000587.1269901037&amp;ga_sid=1269901037&amp;ga_hid=654061172&amp;ga_fc=0&amp;u_tz=-240&amp;u_his=2&amp;u_java=1&amp;u_h=900&amp;u_w=1440&amp;u_ah=878&amp;u_aw=1436&amp;u_cd=24&amp;u_nplug=10&amp;u_nmime=101&amp;biw=1365&amp;bih=806&amp;eid=44901212&amp;fu=0&amp;ifi=1&amp;dtd=153&amp;xpc=Xkfk1oufPQ&amp;p=http%3A//www.anekdotz.com</a>.
    <strong>Domains, protocols and ports must match.</strong></p>
  </blockquote>
  
  <p>(from the Chrome javascript console)</p>
  
  <p>The ads seem to show properly and it doesn't affect my native javascript code.  However sometimes these errors seem to slow down page loading.  How can I fix this problem?</p>
  
  <p>(I modified the URLs to let me post this as I'm a new user)</p>