Microsoft AJAX & Google AdSense

Published 22 December 06 03:22 PM | mhawley

I was bitten by this bug that was introduced in Microsoft AJAX RC. It seems that Microsoft AJAX is overriding the default implementation of Date.parse from Javascript with it's own implementation. Normally this isn't a bad idea, but it only accepted a certain set of templates when parsing making Google AdSense break upon loading on the page. Luckily enough, some developer named Cyril has a workaround available. The forum post and his blog entry (in French) have more information. Those visiting my website should no longer have a Javascript error displayed as I've implemented this workaround temporarily.

Filed under: , ,

Comments

# ScottGu said on December 22, 2006 08:06 PM:

Yep - it was a bad bug.  The good news is that it is fixed in the next drop of ASP.NET AJAX.

# CumpsD said on December 23, 2006 11:11 AM:

I only see a chunk of html below your news item.

The google adsense chunk. It escaped the greater and lesser then sign.

Just mentioning :)

# Matt Gibbs said on December 28, 2006 02:42 AM:

This will be fixed in the next release.

# Alexander Trakhimenok said on February 9, 2007 09:39 PM:

They've fixed the issue.

Just tested it with RTM as gonna use it for my http://AdSenseASP.NET/ .

# making money said on June 26, 2008 09:36 PM:

I really appreciate your posts. Thanks!

This Blog

News

.NET Links

Blogs I Read

Syndication