How to Enable Auto-Load Images & JavaScript in Firefox
In this article
This guide shows you how to configure Mozilla Firefox to automatically load images and enable JavaScript, which are essential for viewing most websites correctly. By default, Firefox has both features enabled, but they can be turned off—either manually or by extensions—causing broken pages. You'll learn where the settings are, how to reset them, and what to do if a website still doesn't work.
What You'll Need
- A computer running Mozilla Firefox (any recent version)
- Access to Firefox's settings (no administrator rights required)
Step-by-Step
Enable Auto-Load Images
- Open Firefox and click the menu button (three horizontal lines) in the top-right corner.
- Select Settings (or Options on some systems).
- In the left sidebar, click Privacy & Security.
- Scroll down to the Permissions section.
- Look for Block websites from automatically loading images. If the checkbox is ticked, uncheck it to allow images to load.
- Close the Settings tab. Your change is saved automatically.
Enable JavaScript
- Type
about:configin the address bar and press Enter. - Click Accept the Risk and Continue if a warning page appears.
- In the search box at the top, type
javascript.enabled. - Find the preference named
javascript.enabledin the list. - Check the Value column. If it shows false, click the Toggle button (or double-click the row) to change it to true.
- Once the value is true, JavaScript is enabled. No restart is needed.
Reset All Settings (Optional)
If you're not sure what changed, you can reset Firefox to its default state:
- Go to Settings > Privacy & Security.
- Scroll to the very bottom and click Reset Settings (or Refresh Firefox).
- Confirm the action. This will disable extensions, restore default preferences, and clear some customizations—but your bookmarks and passwords remain.
Common Mistakes
- Using about:config incorrectly: Double-clicking a preference toggles it, but if you accidentally set
javascript.enabledtofalse, you'll break many sites. Always verify the value istrue. - Blocking images via extensions: Ad-blockers or privacy extensions (like uBlock Origin) can block images or scripts. Check your extensions' settings—they may override Firefox's defaults.
- Confusing “Load images” with “Load tabs”: The setting is specifically about images, not about restoring tabs. Don't change unrelated settings.
- Not clearing cache after changes: Sometimes old cached pages still appear broken. A hard refresh (Ctrl+Shift+R) can help.
Tips
- Use the permissions panel per-site: Firefox lets you override image loading for specific sites. Click the padlock icon in the address bar, then Permissions, to adjust image or JavaScript settings for that site only.
- Keep JavaScript enabled for most sites: Disabling it globally breaks many modern websites. If you're concerned about security, use an extension like NoScript to allow scripts selectively.
- Check for updates: Firefox updates can reset preferences. After a major update, verify your settings are still as you want them.
- Use Safe Mode: If a site still fails, restart Firefox in Safe Mode (Help > Troubleshoot Mode) to see if an extension is the culprit.
Troubleshooting
- Images still not loading: First, check the site's own settings (some sites have a “show images” toggle). Then, disable all extensions temporarily (Settings > Extensions > Disable all). If that fixes it, re-enable one by one to find the offender.
- JavaScript still disabled: If
javascript.enabledistruebut scripts don't run, check if you have an extension like NoScript or ScriptSafe blocking them. Also, clear your cache and cookies for the affected site. - Settings revert after restart: This may be due to a policy from your organization or a security suite. Check Firefox's
about:policiesto see if any policies are enforced. If so, contact your IT admin. - about:config shows a warning: That's normal. Just click “Accept the Risk and Continue” to proceed. Be careful not to change other preferences unless you know what they do.
- Site works in other browsers but not Firefox: Clear Firefox's cache and cookies for that site, or try a fresh profile (Help > Troubleshoot Mode).
Frequently Asked Questions
Why would JavaScript be disabled in Firefox?
It can be disabled manually in about:config, by an extension, or by a corporate policy. Sometimes a user accidentally toggles it while exploring settings.
Is it safe to enable JavaScript?
Yes, JavaScript is essential for most websites to function. However, it can be used maliciously, so keep Firefox updated and consider using a script-blocker extension if you want extra control.
Can I enable images only for certain websites?
Yes. Click the padlock icon in the address bar, go to Permissions, and set the “Load Images” option to “Allow” or “Block” for that specific site.
Will enabling JavaScript slow down my browser?
JavaScript can consume resources, but modern browsers handle it efficiently. If you notice slowdowns, it's usually due to a specific website's scripts, not the global setting.
What does “about:config” do?
It's a hidden configuration page that lets you access advanced Firefox preferences. You can change many settings there, but be careful—incorrect changes can break your browser.
Do I need to restart Firefox after changing these settings?
No, both changes take effect immediately. However, you may need to refresh the page (Ctrl+R) to see the result.