4 ms·IIRC, the setTimeout trick only works if window.onload executes before your timeout fires.by enomar 16y agoIIRC, the setTimeout trick only works if window.onload executes before your timeout fires.