Widgets are all the rage. LineBuzz is a widget and we like to think it rages too. We've built it to be very fast and very polite.
It's fast because we hook into the web page onload event and only do stuff that might be slow after your page has loaded and your users have something to read and look at.
Many widgets don't do that, and that's bad because if their servers go down or slow down then your page slows down too. Your page will stop loading at the point where you've inserted their Javascript and the browser will wait for their servers to respond. Your user waits about 3 seconds and then goes to someone else's blog.
LineBuzz is also very polite. We've written it to respect the needs of other widgets. We hook into the page onload event, but we make sure that anyone else who is using 'onload' will still run just fine. Here's the code we use - it's called a closure and is a well known javascript technique:
function LBSetup(){
var oldonload = window.onload;
if (typeof window.onload != 'function') {
window.onload = LBOnLoad;
} else {
window.onload = function() {
oldonload();
LBOnLoad();
}
}
}
We even run everyone else's code before ours because we're super polite. :)
One of our users is using a widget from a company who shall remain nameless and they simply do this:
window.onload = myVeryRudeFunction;
Everything that uses onload on the page breaks. Very naughty. So I think our user is probably going to remove the other company's script because it may break more than just LineBuzz on the page.
So when you choose which widgets to run on your blog, make sure they're fast and polite.

Ahh that would explain a few things :)
Posted by: Meredith James | May 16, 2007 at 11:29 PM
To do something without planning, to change course midstream, to figure things out as you go. The new project was discovered over beers in the kitchen (we're out of tequila at the moment which is a crisis all in itself) which qualifies for without planning. We put Geojoey on the sideline for a month changing our course. And daily I hear expletives wafting from the "dev" office so definitely figuring stuff out as we go.
Posted by: cosplay | July 25, 2010 at 08:14 PM
I will recommend not to hold off until you get big sum of money to order all you need! You should take the credit loans or commercial loan and feel yourself fine
Posted by: Puckett21Lynette | September 07, 2010 at 05:29 PM
It is advisable to own custom made Rolex Replicas to put on about any situation, be it unconventional as well as official. You might have reproduction watches, shopping watches several additional products.
Posted by: health articles | April 21, 2011 at 03:59 AM
Can share the pain of others, is a human; to share the happiness of others, is God
Posted by: cheap uggs | September 20, 2011 at 11:33 PM
Wow, thats amazing.I love the way you write. Do you provide an RSS feed?
Posted by: cost effective advertising | September 30, 2011 at 09:16 AM
You will be missed.The one place where as a venue and fan I could search by what ever perimeters I chose .Good Luck with your future endeavors.
http://www.healthygreen.co/
Posted by: Natural Supplements | October 04, 2011 at 02:56 AM
I enjoyed your entries on Toxic Words - such great thoughts and a wonderful reminder to watch the words I use - to be positive and kind and use words to build up rather than tear down. :)
http://geboon.com/
Posted by: Post Free Classified | October 08, 2011 at 10:41 PM
I really love to read some articles that have great positive impacts on its reader and benefit by reading such...
Posted by: website design company | October 14, 2011 at 03:08 AM