<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://www.kai-mai.com">
<channel>
 <title>Kai Mai&#039;s Blog - Take Back the Web - Nodes for javascript</title>
 <link>http://www.kai-mai.com/tags/javascript</link>
 <description>Nodes containing the tag javascript</description>
 <language>en</language>
<item>
 <title>Using NoScript Firefox Extension to Quickly Find Out What 3rd Party Services a Website is Using</title>
 <link>http://www.kai-mai.com/node/105</link>
 <description>&lt;p&gt;
&lt;a href=&quot;http://addons.mozilla.org/firefox/722/&quot;&gt;NoScript&lt;/a&gt; is a great Firefox extension that lets you hand-pick which web sites to be allowed to use JavaScript, Java, and Flash. You can surf online safer and faster(because of fewer JavaScripts running).
&lt;/p&gt;
&lt;p&gt;
Another cool thing about it is that by looking at what domains NoScript allows and blocks(right-click on the &amp;quot;S&amp;quot; icon), you get an idea of what kind of services a website uses.  BTW, you can just look at the HTML page source codes to find out what JavaScripts are loaded if you have too much time.
&lt;/p&gt;
&lt;p&gt;
For example, you can see my site loads JavaScripts from &amp;quot;google-analytics.com&amp;quot;,&amp;quot;performancing.com&amp;quot;, &amp;quot;crazyegg.com&amp;quot;(all 3 are web analytics services), &amp;quot;meebo.com&amp;quot;(the Meebo chat widget). 
&lt;/p&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/6&quot;&gt;firefox&lt;/a&gt; &lt;a href=&quot;tags/40&quot;&gt;extension&lt;/a&gt; &lt;a href=&quot;tags/98&quot;&gt;javascript&lt;/a&gt; &lt;a href=&quot;tags/133&quot;&gt;noscript&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">firefox</category>
 <category domain="http://www.technorati.com/tag">extension</category>
 <category domain="http://www.technorati.com/tag">javascript</category>
 <category domain="http://www.technorati.com/tag">noscript</category>
 <pubDate>Wed, 03 Oct 2007 21:00:09 -0700</pubDate>
</item>
<item>
 <title>Cross Domain AJAX Requests(XMLHttpRequests) Using Dojo&#039;s ScriptSrcIO and JSON</title>
 <link>http://www.kai-mai.com/node/86</link>
 <description>&lt;p&gt;
Due to browser security restriction, one can&#039;t make AJAX request to domains other than the domain that the Javascript was originally downloaded from.
&lt;/p&gt;
&lt;p&gt;
But you can still do cross-domain AJAX requests because  dynamic cross-domain loading of scripts is allowed.  It&#039;s very easy to do that via Dojo&#039;s ScriptSrcIO and &lt;a href=&quot;http://json.org&quot;&gt;JSON&lt;/a&gt; because.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book25&quot;&gt;Dojo&#039;s Wiki&lt;/a&gt; has all the details for the client-side Javascript implementation.  But the instruction leaves out a critical piece: what&#039;s expected out of the server-side service.
&lt;/p&gt;
&lt;p&gt;
Let me complete the picture.
&lt;/p&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/96&quot;&gt;dojo&lt;/a&gt; &lt;a href=&quot;tags/97&quot;&gt;ajax&lt;/a&gt; &lt;a href=&quot;tags/98&quot;&gt;javascript&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">dojo</category>
 <category domain="http://www.technorati.com/tag">ajax</category>
 <category domain="http://www.technorati.com/tag">javascript</category>
 <pubDate>Sat, 02 Dec 2006 23:34:25 -0800</pubDate>
</item>
<item>
 <title>ContentPane: the widget you absolutely must/have to know about Dojo</title>
 <link>http://www.kai-mai.com/node/83</link>
 <description>&lt;p&gt;
I&#039;ve been using &lt;a href=&quot;http://dojotoolkit.org/&quot;&gt;Dojo&lt;/a&gt; Javascript toolkit(version 0.3.1) for a while to develop AJAX web applications.
&lt;/p&gt;
&lt;p&gt;
My experience so far indicates that &lt;a href=&quot;http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book29&quot;&gt;ContentPane&lt;/a&gt; is the most important widget in &lt;a href=&quot;http://dojotoolkit.org/&quot;&gt;Dojo&lt;/a&gt; which you should absolutely need to learn about when you start using Dojo.
&lt;/p&gt;
&lt;p&gt;
One of the very basic usages in AJAX is to load content from remote servers without refreshing the whole page. 
&lt;/p&gt;
&lt;p&gt;
ContentPane provides all the nice features to do that:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt; load content by setting the innnerHTML of the pane through function setContent
&lt;/ul&gt;
&lt;p class=&quot;awTags_TagLinks&quot;&gt;Tags: &lt;a href=&quot;tags/96&quot;&gt;dojo&lt;/a&gt; &lt;a href=&quot;tags/97&quot;&gt;ajax&lt;/a&gt; &lt;a href=&quot;tags/98&quot;&gt;javascript&lt;/a&gt; &lt;/p&gt;</description>
 <category domain="http://www.technorati.com/tag">dojo</category>
 <category domain="http://www.technorati.com/tag">ajax</category>
 <category domain="http://www.technorati.com/tag">javascript</category>
 <pubDate>Thu, 21 Sep 2006 22:59:28 -0700</pubDate>
</item>
</channel>
</rss>
