How to enable JavaScript in browser?

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Affiliate Disclosure
Share this article:

  • JavaScript is a crucial web component and a building block for many web apps and websites.
  • Sometimes users can disable JavaScript by accident, and in this guide, we’ll show you how to enable it on all major web browsers.
  • To learn more JavaScript, we suggest that you check out our other JavaScript articles.
  • Want to learn more about web browsers? If so, head over to our special Browsers section.
enable JavaScript in your web browser
To fix various PC problems, we recommend DriverFix: This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

JavaScript is a crucial component of every browser, but sometimes JavaScript might be disabled for you.

In today’s article, we’ll show you how to enable JavaScript in all major browsers, so let’s get started.

How do I enable JavaScript on my PC?

1. Opera

  1. Click on the Opera button in the top left corner and choose Settings.
    opera settings How to enable javascript in my browser
  2. Scroll all the way down and click on Advanced.
  3. In the Privacy and security section click on Site Settings.
    site settings opera How to enable javascript in my browser
  4. Select JavaScript and make sure that the Allowed (recommended) option is enabled.
    opera allow javascript How to enable javascript in my browser

If you’re not familiar with Opera, you should know that it comes with a built-in ad-block, so it won’t show you any ads. By disabling the ads and its scripts, your webpages will load faster.

Opera also has tracking protection, the ability to detect malware, and for an extra layer of security, there’s a free VPN available with unlimited bandwidth. If you already haven’t, be sure to give Opera a try.



Easily wor with JavaScript from within Opera and enjoy a web browser that has all the features that you could ever ask for.

2. Google Chrome

  1. In Chrome, go to More icon > Settings.
  2. Scroll all the way down and click on Advanced.
    advanced options chrome How to enable javascript in my browser
  3. In the Privacy and security section click on Content settings.
  4. Click on JavaScript and make sure that it’s set to Allowed (recommended).
    javascript allowed How to enable javascript in my browser

3. Mozilla Firefox

  1. Enter about:config in the address bar and press Enter.
  2. If you get a warning message, click on I accept the risk button.
  3. In the search bar enter javascript.enabled. Now double click javascript.enabled from the list of results to set it to True.
    firefox about config page How to enable javascript in my browser

After doing that, JavaScript will be enabled in Firefox.

4. Microsoft Edge

On older versions of Microsoft Edge, JavaScript is enabled by default and it can’t be disabled.

On new Chromium-based Edge, you can enable JavaScript by doing the following:

  1. Open Settings.
  2. Go to Site Permissions > JavaScript.
  3. Make sure that Allowed (recommended) option is enabled.
    enable javascript microsoft edge How to enable javascript in my browser

JavaScript is an essential web component, so you should always keep it enabled in your browser. Did you find this article helpful? If so, let us know in the comments below.

FAQ: Learn more about JavaScript

  • How do I enable JavaScript in my browser?

Enabling JavaScript differs from browser to browser, but in most cases, you just need to open Advanced settings and enable it from there.

  • Do I need to install JavaScript?

JavaScript is a programming language, and all web browsers can understand it by default. Therefore, there’s no need to install anything.

  • Is JavaScript supported by all browsers?

JavaScript has been present for decades, and all web browsers have been supporting it for years.

  • Why do I need JavaScript?

JavaScript is used for web applications and interactive pages, so if your JavaScript is disabled, certain websites might not work properly.