by radio4fan · 12y ago · 0 comments
A. At onDOMContentLoaded and B. Inside a setTimeout(func, 0) block
Then the browser's loading indicator will stop before the script has been loaded, executed and all its assets loaded.
Useful for social media widgets, etc.
No comments yet.