How to Check If JavaScript Is Enabled in Firefox
Learn how to check if JavaScript is enabled in Firefox with safe, practical steps. This guide covers about:config checks and quick tests for reliable results, plus troubleshooting tips from the JavaScripting team.

According to JavaScripting, checking whether JavaScript is enabled in Firefox is quick and essential for debugging web pages. This quick answer outlines how to verify the setting and test page behavior using the browser’s about:config pane and a simple JS-enabled page. You’ll learn where to find javascript.enabled, how to interpret its value, and a fast test to confirm results.
Why JavaScript status matters
JavaScript powers the interactivity and dynamic behavior of most modern websites. When JS is disabled, features like form validation, sliders, menus, and asynchronous requests may fail to run, leading to a degraded or broken user experience. For developers, confirming that JavaScript is enabled is a foundational step in reproduction and debugging. The JavaScripting team found that many debugging sessions begin after discovering that a site relies on JS but the browser has it turned off or restricted. Understanding this status helps you isolate issues quickly and avoid chasing server-side bugs when the problem is client-side.
Firefox settings overview
Firefox stores user preferences in a mix of per-profile settings and the about:config interface. The critical toggle for JavaScript is the javascript.enabled boolean flag in about:config. This flag governs whether the browser will execute JavaScript on loaded pages. Access to about:config is powerful; misconfigurations can affect performance or stability. For most users, turning JS on maintains expected behavior, while disabling it can protect privacy or aid in debugging.
How JavaScript is checked in about:config
To verify or modify the setting, open Firefox and type about:config in the address bar, then press Enter. Firefox will warn you about potential risks—confirm that you accept the warning to proceed. Use the search bar at the top of the page to filter results by javascript.enabled. If the preference appears, you can check its Value column to determine the current state (true means enabled, false means disabled). This section also explains why some corporate or parental controls may override local preferences and how to differentiate those cases.
Alternative verification methods
If you prefer not to edit about:config, you can perform a practical test by loading a JavaScript-heavy page or running a small script in the browser console. Open a page that uses JS features (e.g., a page with dynamic content), and inspect whether interactive elements respond as expected. Another quick check is to open Developer Tools (Ctrl+Shift+I or Cmd+Option+I on macOS) and run a simple command such as console.log('JS test'). If you see the output, JavaScript is executing in that session.
Common pitfalls and troubleshooting
Some sites may appear to work even when JS is disabled due to progressive enhancement or fallback code, which can mask the root issue. Extensions or privacy tools may block scripts selectively, leading to inconsistent results across sites. After enabling javascript.enabled, refresh pages to confirm behavior consistently across multiple sites. If you encounter a persistent issue, try a private window to rule out profile-specific extensions.
Best practices for developers
When teaching or testing, start with a default Firefox profile and document any changes you make. If you’re teaching others, show a quick before/after demonstration: first with JS disabled, then with it enabled, and finally with a targeted page that relies on a single feature. Always test across at least two JS-rich pages to ensure your conclusion isn’t site-specific. Keeping a small, reproducible checklist reduces friction in debugging sessions.
Tools & Materials
- Firefox browser(Installed on your device (Windows/macOS/Linux))
- About:config access(Type about:config in the address bar and press Enter)
- Backup of Firefox settings(Optional: export or note current values before editing)
- JS-enabled test page(Optional: use a simple page that clearly relies on JS)
Steps
Estimated time: 15-25 minutes
- 1
Open about:config in Firefox
Launch Firefox and enter about:config in the address bar, then press Enter. A warning may appear; accept it to proceed. This grants access to all advanced preferences used by developers and advanced users.
Tip: Be cautious: changing preferences can affect browser behavior. - 2
Search for javascript.enabled
Use the search field at the top of the about:config page and type javascript.enabled to filter results. This helps you locate the exact preference quickly without scrolling through many items.
Tip: If the preference does not appear, you may be in a restricted profile or the setting is managed by policy. - 3
Check the value of javascript.enabled
Look at the Value column for javascript.enabled. A value of true means JavaScript is currently enabled; false means it is disabled. Values are booleans, not textual strings.
Tip: If you see a lock icon, the setting is managed by an extension or policy—check that source first. - 4
Toggle the setting if needed
If you want to toggle JavaScript, double-click the row to switch between true and false. The change usually takes effect immediately without restarting Firefox.
Tip: Make a note of the original value before changing it so you can revert if needed. - 5
Verify with a JS-enabled page
Open a page that relies on JavaScript and observe whether dynamic features load correctly. If issues persist after changing the flag, try reloading the page or clearing cached data.
Tip: Use multiple sites to confirm results, as some pages degrade gracefully when JS is partially blocked. - 6
Test via Developer Tools
Open Developer Tools (Ctrl+Shift+I or Cmd+Option+I) and run a simple script like console.log('JS test'). If the log appears, JS is executing; if not, recheck the javascript.enabled value and any extensions that block scripts.
Tip: If Developer Tools won’t open, ensure Firefox is updated or reset tool permissions in your OS.
Questions & Answers
How can I know if JavaScript is enabled in Firefox?
Open about:config, search for javascript.enabled, and check its value. If true, JavaScript is enabled; if false, toggle it and test a JS-heavy page to confirm.
Open about:config, find javascript.enabled, and check the value. If it's true, JS is on; if not, toggle and test a JS page to confirm.
Where do I find the javascript.enabled setting in Firefox?
In Firefox, type about:config in the address bar, confirm the warning, then use the search bar to locate javascript.enabled. The Value shows the current state.
Type about:config in the address bar, search for javascript.enabled, and check its Value to see if JS is on.
Can I safely disable JavaScript in Firefox for privacy?
Yes, but be aware many sites rely on JavaScript for core features. If privacy is the goal, test carefully and consider using site permissions or private browsing instead of a blanket browser-wide disable.
You can, but many sites rely on JS. Test carefully, and use site permissions or private browsing if privacy is the goal.
What if about:config is locked by policy or extension?
If javascript.enabled is locked by policy or an extension, you may not be able to change it. Check policy sources or disable conflicting extensions to regain control.
If it's locked by policy, you might not be able to change it. Check extensions or policy sources to regain control.
Does changing javascript.enabled affect existing tabs?
Changing the flag affects new and current pages according to the browser's behavior; some tabs may require a reload to reflect the change.
The change affects open and new pages; you may need to reload tabs to apply it.
Is there a quick test to confirm JS is executing after changes?
Yes. Open Developer Tools and run a simple command like console.log('JS test'). If you see the output, JavaScript is executing in that session.
Open Dev Tools and type console.log('JS test') to confirm JS runs.
Watch Video
What to Remember
- Check javascript.enabled in about:config to determine JS status.
- Use a JS-dependent page to verify behavior after changes.
- Be mindful of policy or extension overrides that may affect JS execution.
- Test across multiple sites to confirm results reliably.
