<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Discussion on aaad_US_update | Userscripts.org</title>
    <link>http://userscripts.org/scripts/show/16144</link>
    <description>Recent comments on userscript: aaad_US_update</description>
    <language>en-us</language>
    <ttl>60</ttl>
    <item>
      <title>Archived Comments, replied by jerone @ Tue, 03 Jun 2008 04:11:43 -0500</title>
      <description>&lt;p&gt;The last update I made included an option to add a custom loader instead of the normal loader.
&lt;br /&gt;So to make an example I wrote a little function that can be used as the custom loader.
&lt;br /&gt;Just add the following code to the addon customLoader in every script you want:
&lt;br /&gt;&lt;code&gt;&lt;pre&gt;eval(US_functions.prototype({Number:[],String:[],Array:['find'],Object:[]}));

var language=new US_language({langMod:&quot;browser&quot;,
	locals:{
		en:{
			'customLoader':{
				'checkUpdate':'Checking for update for @title@ ...',
		}	},
		nl:{
			'customLoader':{
				'checkUpdate':'Controleren op update voor @title@ ...',
}	}	}	});

new US_update({
	// normal settings...
	addon:{
		customLoader:	function(o,USU){
			if(!window.CLscripts){window.CLscripts=[];}
			if(!USU.CLbeenHere||USU.CLbeenHere===null){USU.CLbeenHere=false;}
			var CLscripts=window.CLscripts;
			if(o.readyState==1 &amp;amp;&amp;amp; USU.CLbeenHere===false){  // loading...
				CLscripts.push(USU.title);
				if(!$gi('CLoverlay')){
					var CLoverlay=$sa($ce(&quot;DIV&quot;),&quot;id&quot;,&quot;CLoverlay&quot;);
					$sa(CLoverlay,&quot;style&quot;,$setReturnOpacity(100)+&quot; position:fixed; height:25px; bottom:0px; right:0px; color:gray; z-index:9998; border:solid black; border-width:3px 0 0 3px; -moz-border-radius:1em 0 0 0;&quot;);
					$addEvent(CLoverlay,&quot;dblclick&quot;,function(){$re($gi(&quot;CLoverlay&quot;));});
					$ac($d.body,CLoverlay);
					var CLwrapper=$sa($ce(&quot;DIV&quot;),&quot;style&quot;,$setReturnOpacity(70)+&quot; background-color:black; width:100%; height:100%; font-size:10px; -moz-border-radius:1em 0 0 0&quot;);
					$ac(CLoverlay,CLwrapper);
					var CLspan=$sa($ce(&quot;span&quot;),&quot;id&quot;,&quot;CLspan&quot;);
					$sa(CLspan,&quot;style&quot;,$setReturnOpacity(100)+&quot; padding:6px 6px 6px 0; font:10px; color:gray; z-index:9999; white-space:nowrap; float:right;&quot;);
					$ac(CLspan,$ct(language.localise(['customLoader','checkUpdate'],{&quot;title&quot;:CLscripts.join(&quot; &amp;amp; &quot;)})));
					$ac(CLwrapper,CLspan);
					var CLimg=$sa($ce(&quot;IMG&quot;),&quot;src&quot;,USU.loadingImage);
					$sa(CLimg,&quot;style&quot;,$setReturnOpacity(100)+&quot; margin:4px; z-index:9999; float:left;&quot;);
					$ac(CLwrapper,CLimg);
				}
				else{
					$ih($gi('CLspan'),language.localise(['customLoader','checkUpdate'],{&quot;title&quot;:CLscripts.join(&quot; &amp;amp; &quot;)}));
				}
				USU.CLbeenHere=true;
			}
			else if(o.readyState==4){
				CLscripts.splice(CLscripts.find(USU.title),1);
				if(CLscripts.length&gt;=1){
					if($gi('CLspan')){
						$ih($gi('CLspan'),language.localise(['customLoader','checkUpdate'],{&quot;title&quot;:CLscripts.join(&quot; &amp;amp; &quot;)}));
				}	}
				else if($gi('CLoverlay')){
					$re($gi(&quot;CLoverlay&quot;));  // cleanup
				}
				USU.CLbeenHere=null;
}	}	}	});&lt;/pre&gt;&lt;/code&gt;Another good suggestion would be to use the window title or status bar.&lt;/p&gt;</description>
      <pubDate>Tue, 03 Jun 2008 04:11:43 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:12999:39396</guid>
      <author>jerone</author>
      <link>http://userscripts.org/topics/12999</link>
    </item>
    <item>
      <title>Archived Comments, replied by jerone @ Mon, 19 May 2008 07:05:15 -0500</title>
      <description>&lt;p&gt;If you're planning of using this script, please note your findings here and I'll add you to the 'use' list.&lt;/p&gt;</description>
      <pubDate>Mon, 19 May 2008 07:05:15 -0500</pubDate>
      <guid isPermaLink="false">userscripts.org:12999:39397</guid>
      <author>jerone</author>
      <link>http://userscripts.org/topics/12999</link>
    </item>
    <item>
      <title>Archived Comments, replied by Jesse Andrews @ Tue, 16 Nov 2004 19:05:06 -0600</title>
      <description>&lt;p&gt;The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)&lt;/p&gt;</description>
      <pubDate>Tue, 16 Nov 2004 19:05:06 -0600</pubDate>
      <guid isPermaLink="false">userscripts.org:12999:39395</guid>
      <author>Jesse Andrews</author>
      <link>http://userscripts.org/topics/12999</link>
    </item>
  </channel>
</rss>
