I wonder what will happen if xray.js finishes loading before
jquery-latest.pack.js? :-)

The author should combine the two scripts into one file...

-Mike

> From: Tobias Parent
> 
> For those who don't know how I found that it's a jQuery app, 
> I just right-clicked on the bookmarklet (after I'd bookmarked 
> it), chose 'Properties...', and copied and pasted the url 
> into Aptana. Cleaned up a bit, this is what it shows:
> 
> javascript:if(!document.getElementById('WCjq'))
> {
>     var q=document.createElement('script');
>     q.setAttribute('id', 'WCjq');
>     q.setAttribute('src', 
> http://westciv.com/xray/jquery-latest.pack.js');
>     document.getElementsByTagName('body')[0].appendChild(q);
> }
> var s=document.createElement('script');
> s.setAttribute('id','WCXray');
> s.setAttribute('src', 'http://westciv.com/xray/xray.js');
> document.getElementsByTagName('head')[0].appendChild(s);
> void(s);
> 
> veeeery nice.

Reply via email to