This article provides a step-by-step guide on enabling JavaScript in your computer browser, allowing it to load and display specific elements such as videos or animations on certain websites. You can activate JavaScript if you're using Chrome on desktop and Android, Safari on Mac and iPhone, Firefox on desktop, as well as Microsoft Edge and Internet Explorer on Windows. Once enabled, you'll resolve errors and no longer see notifications related to JavaScript.
StepsChrome
Android

Open Chrome. Tap on the icon featuring a globe in red, green, yellow, and blue colors.

Tap on ⋮. This icon is located at the top-right corner of the screen.

Tap on Settings. This option is located near the bottom of the dropdown menu.

Scroll down and tap on Site settings. You'll need to scroll down about halfway through the page.

Tap on JavaScript. This option is located near the middle of the Site Settings page.
Tap the gray JavaScript switch.
Note: If the JavaScript switch is blue or green, JavaScript is already enabled.
Desktop

Open Google Chrome. This browser features a globe icon in red, green, yellow, and blue colors.

Click on ⋮. This button is located at the top-right corner of the browser window.

Click on Settings (Cài đặt). This option is located near the bottom of the dropdown menu.



Scroll down and click on Content settings (Cài đặt trang web). You will find this option at the bottom of the section that includes multiple options under "Privacy & Security" (Quyền riêng tư và bảo mật).

Click on <> JavaScript. This option is located near the middle of the page.

Enable JavaScript. Click the switch next to Allowed (recommended) (Được phép (được đề xuất)) to turn it "ON," which will change to a blue color.
Note: If the switch is already blue, JavaScript is already enabled in your Chrome browser.

Make sure JavaScript is not blocked. Any website listed under the "Block" section on this page will not be allowed to use JavaScript. Here’s how to remove a website from the block list:
- Click on ⋮ located to the right of the website's name.
- Select Remove from the dropdown menu.
Safari
iPhone



Scroll down and tap on Safari. This option is located in the lower half of the Settings page. You’ll see a blue Safari icon to the left of this option.

Scroll down and tap on Advanced (Nâng cao). This button is located at the bottom of the screen.



Tip: You may need to close and reopen Safari for JavaScript to start functioning.
Mac

Open Safari. This is the blue compass-shaped app located in the Dock.

Click Safari. This menu is located in the top-left corner of your Mac screen.

Click Preferences (Tùy chọn). This option is near the top of the dropdown Safari menu.

Click on the Security (Bảo mật) tab. This option is located in the middle of the Settings window.

Check the box labeled "Enable JavaScript" (Bật JavaScript). This box is next to the "Web content:" section. This is how you enable JavaScript in Safari, but you may need to reload the browser before the changes take effect on websites.
Note: If this box is already checked, JavaScript is already enabled in Safari.
Firefox

Open Firefox. Firefox features a blue globe with an orange fox wrapped around it. By default, Firefox allows JavaScript and does not let you change this setting, but some applications may interfere with JavaScript usage.

Click on ☰. This option is located in the top-right corner of the Firefox window.

Click on Add-ons (Tiện ích). You need to click on the puzzle piece icon within the dropdown menu.

Search for extensions that are blocking JavaScript. Some of the more popular JavaScript-blocking extensions include "No-Script", "QuickJava", and "SettingSanity".

Disable any extensions that are blocking JavaScript. Click on the problematic extension, then select Disable (Tắt) or Remove (Xóa) when prompted.
Note: You will need to restart Firefox to see the changes take effect.

Enable JavaScript through advanced configuration options. If disabling JavaScript-blocking extensions hasn't resolved the issue, you may need to enable JavaScript in Firefox's hidden settings:
- Type about:config into Firefox's URL bar.
- Click on I accept the risk! (Chấp nhận rủi ro).
- Enter javascript.enabled into the search bar below the URL bar.
- Ensure the "Value" of javascript.enabled is set to "False".
- If it says "true," JavaScript is already enabled. You may need to uninstall and reinstall Firefox.
- Double-click on javascript.enabled.
- Restart Firefox.

Reinstall Firefox. If the above methods don't work, you may need to uninstall and reinstall Firefox to restore all default settings. Since JavaScript is a core feature of Firefox, reinstalling will reset all functionalities.
Microsoft Edge



Type edit group policy into Start. This step searches for the Edit Group Policy program on your computer.

Click on Edit Group Policy. This program is usually located at the top of the Start window.

Navigate to the "Microsoft Edge" folder. Here’s how to do it:
- Double-click on User Configuration.
- Double-click on Administrative Templates.
- Double-click on Windows Components.
- Double-click on Microsoft Edge.

Double-click on Allows you to run scripts, like JavaScript. After clicking, a window with various JavaScript options will appear.

Click on Enabled. This step enables JavaScript in the browser.
Note: If Enabled is already checked, JavaScript is already enabled in Edge.

Click on OK. This button is located at the bottom of the window. This step saves the settings and applies JavaScript to Edge, but you may need to restart the browser to see the changes.
Internet Explorer

Open Internet Explorer. Internet Explorer features a blue "e" logo surrounded by a yellow circle.

Click on Settings ⚙️. This option is located in the top-right corner of the Internet Explorer window.

Click on Internet options. This option is near the bottom of the dropdown menu.

Click on the Security tab. This tab is near the top of the Internet Options window.

Click on the globe icon labeled Internet. This icon is located near the top of the Internet Options window.

Click on Custom level. This option is found in the "Security level for this zone" section near the bottom of the Internet Options window.

Scroll down to the "Scripting" section. This section is located near the bottom of the Settings window.

Check the box labeled "Enable" under "Active scripting". This step enables JavaScript in the browser.

Click on OK. This button is located at the bottom of the window.

Click Apply, then click OK. This step saves your settings, but you might need to close and reopen Internet Explorer for JavaScript to function properly.
Advice- Since Java and JavaScript are unrelated, they need to be enabled differently.
Warning- If your browser is outdated, you may need to update it before enabling JavaScript.