Find scripts without async or defer on a page
find render-blocking resources | javascript without defer | eliminate render-blocking scripts pagespeed | scripts in head slow down page | curl | javascript | render-blocking | core-web-vitalscurl -s https://example.com/ | tr '\n' ' ' | grep -oiE '<script[^>]*src=[^>]*>' | grep -viE 'async|defer|type=.?module'Shows every <script src> without async, defer or type="module". Such scripts stop the browser from parsing until they are loaded and executed, which delays First Contentful Paint and LCP. Matches in the <head> are especially critical.
Note: Scripts at the end of <body> hardly block, but they are listed too. Scripts that depend on jQuery cannot always be switched to defer safely.
Also searched as
- find render-blocking resources
- javascript without defer
- eliminate render-blocking scripts pagespeed
- scripts in head slow down page