Ever heard of Konfabulator?
Well here is a snapshot to show you what it can do. And if you are excited by the concept of Firefox extensions, then you better check this out! Because Konfabulator uses JS and XML to develop scripts.
For more information, you could check Konfabulator.
For downloading widgets, you can go to Widget Gallery.
Time to start experimenting, eh?!