3 ms·
Yesterday I wrote a topic "Your social widgets are losing you visitors right now". Today I present you solution to very old problem of scripts delaying page lo
by rarestblog 16y ago
Yesterday I wrote a topic "Your social widgets are losing you visitors right now".
Today I present you solution to very old problem of scripts delaying page loads: just change src="" to extsrc="" and use 'extsrc.js':
<script extsrc="..."></script>
Now all of your scripts are loading AFTER the page renders. It works even if scripts use document.write
I've tested with Chrome/Ubuntu and Firefox/Ubuntu - works like it should.
ALPHA! Test it and let me know if your browser matches the reference rendering. If it doesn't - maybe we can do some fallback.
Quite a few bugs fixed by now. Please test it and leave bug reports.
- TamDenholm 16y agoGood job, now lets get the major sites (especially blogs) to use this.
- rarestblog 16y agoThanks! Too early, need to polish out quite a few bugs with Opera/IE right now. UPD. Major bugs with Opera fixed. IE probably too, waiting for confirmation.