Why Color & Contrast Shows a Blank Page or Requires JavaScript
Updated
Color & Contrast (colorandcontrast.com) is a JavaScript-dependent web app, so if JavaScript is disabled, blocked, or fails to load, you'll see a blank page or a message like "You need to enable JavaScript to run this app." The fix is to enable JavaScript for the site, allow it through any script blocker, or try a different browser or network. If you can't enable JavaScript, the site's content won't render at all.
Why the page is blank
The site is built as a client-side application. That means the HTML file that loads first contains little or no visible content on its own — the actual interface and text are assembled by JavaScript running in your browser after the page loads.
When JavaScript doesn't run, the browser has nothing to display, so you get an empty page or a fallback notice. The excerpt the site serves in that state is simply:
You need to enable JavaScript to run this app.
This is a common pattern for modern single-page apps, and it's not a sign that the site is broken or down.
Common causes
- JavaScript disabled in the browser — either globally in settings or per-site.
- A script blocker or privacy extension — tools like NoScript, uBlock Origin in aggressive modes, or some ad blockers can block the app's scripts.
- Corporate or school network policies — managed browsers sometimes disable JavaScript by default.
- Browser or extension conflicts — an outdated browser, a broken extension, or a strict tracking-protection mode can stop scripts from executing.
- Slow or failed script loading — a flaky connection or a blocked CDN can leave the app half-loaded and blank.
How to fix it
1. Enable JavaScript in your browser
Most browsers have JavaScript on by default, so check whether it was turned off:
- Chrome / Edge: Settings → Privacy and security → Site settings → JavaScript → make sure "Sites can use JavaScript" is allowed.
- Firefox: Type
about:configin the address bar, search forjavascript.enabled, and confirm it's set totrue. Also check Settings → Privacy & Security → Permissions for any per-site blocks. - Safari: Settings → Websites → JavaScript, or the Develop menu if enabled.
After changing the setting, reload the page.
2. Allow the site through blockers
If you use a script blocker or content blocker, add colorandcontrast.com to its allowlist, then reload. Temporarily disabling the extension for this site is enough to confirm whether it's the cause.
3. Try a clean browser or window
Open the site in a private/incognito window with extensions disabled, or in a different browser entirely. If it loads there, an extension or cached setting in your normal browser is the problem.
4. Check your network
If you're on a corporate, school, or public network, JavaScript or certain domains may be filtered. Try a different network or connection to rule this out.
If you can't enable JavaScript
There's no JavaScript-free version of the site to fall back on — the content is rendered entirely on the client. Your options are:
- Use a browser or device where JavaScript can be enabled.
- Ask your IT administrator to allow JavaScript for the domain if you're on a managed network.
- Look for the same color and contrast guidance from other sources if you're blocked entirely.
Quick check
| Symptom | Likely cause | Action |
|---|---|---|
| Blank page, no message | Scripts blocked or failed to load | Allow scripts, reload, try another browser |
| "Enable JavaScript" notice | JavaScript disabled | Turn JavaScript on for the site |
| Works in incognito, not normally | Extension conflict | Disable or allowlist the extension |
| Fails only on one network | Network filtering | Switch networks or contact IT |
Once JavaScript is running, the app loads normally and you can use the site's color and contrast guidance for UI design.