• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Electric Toolbox Blog

The Electric Toolbox Blog

Linux, Apache, Nginx, MySQL, Javascript and PHP articles

  • Applications
  • FCKEditor
  • Apache
  • Windows
  • Contact Us
Home / How to disable Javascript in Mozilla Firefox

How to disable Javascript in Mozilla Firefox

Forms on websites are typically validated using Javascript on the client side to prevent additional round trips to the server if a form hasn’t been completed correctly, and are then also validated on the server side. When testing a website you need to be able to test both so need to disable Javascript in your web browser to test the server side validation. This post looks at how to disable Javascript in the Mozilla Firefox web browser. The specific version the screenshots come from are Firefox 3 but it should be the same for earlier versions.

In order to disable or enable Javascript on Firefox, you need to go into the options/preferences screen. This is done either by selecting "Tools" then "Options" from the main menu as shown in the screenshot below from Windows Vista:

firefox menu - tools - options - vista

or by selecting "Edit" then "Preferences" from the main menu as shown in the screenshot below from Linux:

firefox menu - edit - preferences - linux

The exact menu location varies depending on your operating system for some reason… This will get you to the options/preferences window. The "Main" section is selected by default so click the "Content" button and the options like the ones below will be displayed.

enabling and disabling javascript on firefox

Simply tick/untick the "Enable Javascript" checkbox, depending whether you want to disable or enable Javascript and then click the "OK" button. After disabling Javascript any Javascript events or functions on the current page will no longer work; you do not need to reload the page (in Firefox 3 – it may be different for older versions).

Once you have completed your testing you can follow the above steps to enable Javascript again.

Check Out These Related posts:

  1. Selectively delete cookies in Firefox
  2. Using setTimeout() with Javascript
  3. Backup/export bookmarks with Mozilla Firefox 3
  4. Mozilla Thunderbird exceeded maximum number of connections to IMAP server

Filed Under: Applications, Javascript

Primary Sidebar

Categories

  • Apache
  • Applications
  • Article
  • Case Studies
  • Email Servers
  • FCKEditor
  • HTML And CSS
  • Javascript
  • Linux/Unix/BSD
  • Microsoft SQL Server
  • Miscellaneous Postings
  • MySql
  • Networking
  • Nginx Web Server
  • Offsite Articles
  • OSX
  • PHP
  • Quick Tips
  • RFC – Request for Comments
  • SilverStripe
  • VMWare
  • VPN
  • Windows
  • WordPress

Recent Posts

  • Vim Show Line Numbers
  • Add User To Group Linux
  • Chmod 777 Tutorial
  • How to Copy Directory Linux
  • Linux create user

Copyright © 2021. ElectricToolBox. All Rights Reserved.

  • Contact Us
  • Copyright Info
  • Privacy Policy
  • Sitemap