javascript - Can I disable Chrome/Webkit parallel CSS & JS download feature? -


i'm experiencing documented bug webkit browsers render page incorrectly on first load because javascript executing before css has finished downloading (due them being downloaded in parallel).

while quick refresh fixes of page, solution inadequate problem (i run command-line utilities take screenshots of our pages, these utilities don't have option "refresh" page before taking screenshot)

does have suggestions or solutions ensuring css-include loaded in it's entirety before javascript-include , inline-javascript executed?

thanks! -dan

edit-- not using library. 'ol javascript.

if using library think of them allow this. it's easy jquery, if not can use <script defer="(x number of second)">function()</script> @ end of hte page. may consider moving javascripts bottom of page possible. js best practices.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -