Skip to content

Old JavaScript sent to new browsers

Scripts include extra code that makes them work in very old browsers, which every modern browser downloads and then doesn’t need.

Why it matters

It adds weight and work for every visitor, for browsers almost nobody uses any more.

How to fix it

  1. Update your theme, apps and plugins: newer versions often leave the old code out.
  2. If the site is built with a bundler, set its browser targets to current browsers, for example Baseline widely available.
On WordPress
  1. Go to Plugins › Installed Plugins and click Update now on each plugin with an update.
  2. Update the theme from Dashboard › Updates or Appearance › Themes (on WordPress.com: Appearance › Theme Showcase, on the My Themes tab).

WordPress help: Update a plugin or theme (opens in a new tab)

On Shopify
  1. Go to Online Store, click the update notice in place of the theme’s version number, then Add to draft themes.
  2. Click Review to check the updated copy, and that your code changes came across, then Publish.
  3. No notice means the theme gets no updates (an old theme, or one bought outside the Theme Store): ask its developer.

Shopify help: Updating themes (opens in a new tab)

On Wix
  1. Wix has no setting for its own scripts, those from static.parastorage.com: they can’t be changed. Remove or replace code you added that carries old code, in Settings › Custom Code.

Wix help: Site Performance: Removing Unused JavaScript (opens in a new tab)

On Squarespace
  1. Squarespace has no setting for this: it updates templates and the platform for you as browsers change (sites on the Developer Platform don’t get template-specific updates). For a script you added in Code Injection, ask its provider for a current version.

Squarespace help: How site templates work in versions 7.0 and 7.1 (opens in a new tab)

On Hostinger
  1. Go to More (⋯) › Integrations, delete the code you don’t need from the Custom code field, save, then update the website: every piece of code added to an AI Builder site has to load.

Hostinger help: Hostinger AI Builder: Website speed (opens in a new tab)

On Webflow
  1. Webflow builds its own JavaScript for each page when you publish, and you can’t edit it.
  2. Replace or remove old scripts you added in Site settings › Custom code, each page’s Page settings › Custom code and code embed elements.

Webflow help: Understanding per page JavaScript and asynchronously loading JavaScript (opens in a new tab)

Check your fix

Once the change is live, check the page again.

Want it done for you?

We’re a product design studio. We can make this fix, and check the rest of your site while we’re at it.

Book a call (opens in a new tab)