Google AJAX API’s Playground

ajax

http://code.google.com/apis/ajax/playground/

Just landed on this and it is really cool. You can do all sorts of stuff with google ajax api or just have fun with js and ajax right from that page. While you do that don’t forget that where you are playing also uses ajax(doh!). Why i’m telling you that? Well don’t be an asshole and just stare at it saying to yourself  “How! how cool is that!” and then browse away to icanhascheezburger.com, instead of  “Pretty nice!So this uses ajax too!I definitely have to look more into this shit” and continuing to experiment on the page.  😛

PS: If you are illiterate and don’t know what to do with that than you can still have fun:

Method no.1:

Just click on something in the Pick window and then start deleting stuff randomly from the Edit window. Then you press the Run button in the Output window title bar. Now you can gaze at the prtty errr messages you  get back.

Method no.2:

Delete everything in the Edit windows and then paste the following code into it:

if (/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent)){
   document.write('There is a chance you might not be a moron...');
   alert("But it is really small,since you are running Firefox without NoScript!");
}
if (/MSIE (\d+\.\d+);/.test(navigator.userAgent))
   document.write('You are definitely a moron because you are running IE!');

Now you can press the Run button in the Output window title bar to find out if you are a moron.

Tagged with:
 

Leave a Reply