Scripts that block the first paintShould fix
1 script in <head> blocks the page from showing
Found on the page
<script src="/assets/legacy-analytics.js">
<script src> in <head> that the browser waits for: no async, defer, type="module" or nomodule, and (in the extension) not added by another script.
A plain script in <head> stops the browser from drawing anything until it has downloaded and run.
The engine's own output on a fictional test page (acme-launch.test), as the extension shows it.
Found on the page
<script src="/assets/legacy-analytics.js">Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run.
A prompt to paste into the builder's chat or your coding agent. It's the same text the extension copies for this finding, with the quotes from your own page.
Please fix the launch issues below in this Lovable project. Most of them live in index.html (the <head>) or in the page components. Page: https://acme-launch.test/ Scripts that block the first paint: 1 script in <head> blocks the page from showing (should fix) Where (from the page): - <script src="/assets/legacy-analytics.js"> What it should become: Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run. If a quoted snippet is intentional text and not a forgotten placeholder, don't change it, and say so. Don't change anything else: keep the layout, copy and styling as they are. When you're done, list what you changed.
Please fix the launch issues below in this Bolt project. Check index.html and the files in src/ and public/. Page: https://acme-launch.test/ Scripts that block the first paint: 1 script in <head> blocks the page from showing (should fix) Where (from the page): - <script src="/assets/legacy-analytics.js"> What it should become: Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run. If a quoted snippet is intentional text and not a forgotten placeholder, don't change it, and say so. Don't change anything else: no redesign, no new dependencies. When you're done, list the files you changed.
Please fix the launch issues below in this v0 (Next.js) project. Page metadata belongs in the metadata export of app/layout.tsx or the page file. Page: https://acme-launch.test/ Scripts that block the first paint: 1 script in <head> blocks the page from showing (should fix) Where (from the page): - <script src="/assets/legacy-analytics.js"> What it should become: Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run. If a quoted snippet is intentional text and not a forgotten placeholder, don't change it, and say so. Don't change anything else: keep the components, styles and copy as they are. When you're done, list what you changed.
Please fix the launch issues below in this Replit app. Make the changes in the code that is deployed, not only in the workspace preview. Page: https://acme-launch.test/ Scripts that block the first paint: 1 script in <head> blocks the page from showing (should fix) Where (from the page): - <script src="/assets/legacy-analytics.js"> What it should become: Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run. If a quoted snippet is intentional text and not a forgotten placeholder, don't change it, and say so. Don't change anything else and don't restructure the app. When you're done, list the files you changed and redeploy.
Fix the launch issues below in this repository. Search the codebase for each quoted snippet to find where it comes from, change only what is needed, and show me the diff. Page: https://acme-launch.test/ Scripts that block the first paint: 1 script in <head> blocks the page from showing (should fix) Where (from the page): - <script src="/assets/legacy-analytics.js"> What it should become: Add defer (or async for independent scripts like analytics) to each, or move them to the end of <body>. The browser stops drawing the page until a plain <script src> in <head> has downloaded and run. If a quoted snippet is intentional text and not a forgotten placeholder, don't change it, and say so. Don't change anything else: no refactors, renames or formatting changes outside these fixes. List the files you changed.