Browsers are used frequently to help users locate, retrieve, and display content on the World Wide Web. A lot of errors may occur on the browsers due to different reasons. The javascript:void(0) error is one of them that stop users from accessing a webpage successfully. This post will show you how to fix the error in different browsers step by step.

People are reporting the same issue on the internet: they see the error message javascript:void(0) when trying to access a webpage in Microsoft Edge, Chrome, Firefox, or other browsers installed on the computer. If you ask what JavaScript is, it’s actually used by browsers to show online content to users in a proper way.

  • The root reason for causing the javascript void(0) is that something is holding back the JavaScript on the webpage on your end. The pop up blocker won’t allow you to get access to the page you want to visit.
  • The JavaScript Void error may be related to the Java software installed on your computer.
  • Please read the content below to learn how to fix the problem yourself in different browsers.
  • If you have other disk, system, or data problems, please let MiniTool help you.

Hmm, We Can’t Reach This Page – A Microsoft Edge Error!


Fix javascript:void(0) in IE/Chrome/Firefox

Please don’t be worried when you see the javascript:void(0); the good news is that JavaScript Void 0 is not a very critical error. You can fix it in IE, Chrome, Firefox, or other browsers you use by following the steps mentioned below.

Solutions To Error Code 3: 0x80040154 In Google Chrome!

Reinstall Java Properly

  1. Open Control Panel on your computer.
  2. Choose to View by Category.
  3. Select Programs from the list.
  4. Click Programs and Features in the right pane.
  5. Look for the Java entry and select it.
  6. Click on the Uninstall button appeared now.
  7. Wait for the installation to finish.
  8. Reinstall the software properly.

Programs and Features

Enable JavaScript on Your Browser

JavaScript may be disabled by default on browsers, so you should go to enable it manually.

How to enable in Internet Explorer:

  1. Open Internet Explorer and navigate to the settings menu.
  2. Click Tools and choose Internet options.
  3. Shift to the Security tab and click on the Custom level… button.
  4. Scroll down to find Scripting option.
  5. Look for the Scripting of Java applets under it.
  6. Check Enable and click on the OK button to confirm.


How to enable in Google Chrome:

  1. Open Chrome and click on the three dots icon (in the upper right corner).
  2. Choose Settings and look for Privacy and security.
  3. Select Site Settings under it.
  4. Look for the Content section.
  5. Click JavaScript.
  6. Toggle the switch to on so that all sites are allowed to run JavaScript.


How to enable in Mozilla Firefox:

  1. Open Firefox and click on the menu button at top right (similar to Chrome’s).
  2. Click Add-ons and shift to the Plugins tab.
  3. Select the Java ™ Platform plugin.
  4. Click on the always activate button.

Reload the Page via Bypassing/Clearing the Cache

  1. Hold the Shift key and click Reload.
  2. Press CTRL + F5 simultaneously.

If this didn’t work, you should try to clear the cache of your browser to fix JavaScript Void 0 (take Chrome as an example).

  1. Click on the three dots icon.
  2. Move your cursor to More tools option.
  3. Choose Clear browsing data from the submenu. (You can press Ctrl + Shift + Delete directly.)
  4. Select Advanced tab and choose All time for Time range.
  5. Check only Cached images and files under it.
  6. Click on the Clear data button below.

Cached images and files

Remove Cookies from Browser

This part shows you how to fix javascript void(0) by removing cookies from different browsers.

Remove cookies from Chrome:

  1. Press Ctrl + Shift + Delete in an opening Chrome.
  2. Go to the Advanced tab and choose All time for Time range.
  3. Check Cookies and other site data.
  4. Click on the Clear data button.
How To Recover Deleted History On Google Chrome - Ultimate Guide
How To Recover Deleted History On Google Chrome - Ultimate Guide

Finding your Google Chrome history disappeared accidentally? There are 7 effective methods to help you restore your deleted Chrome history by yourself.

Read More

Remove cookies from IE:

  1. Click on the Tools icon in the upper right corner.
  2. Navigate to Safety and choose Delete browsing history. (You can also press Ctrl + Shift + Delete.)
  3. Check Cookies and website data.
  4. Click on the Delete button.

Cookies and website data

Remove cookies from Firefox:

  1. Click on the menu button.
  2. Choose Options from the list.
  3. Shift to Privacy.
  4. Click clear your recent history.
  5. Select Everything for Time range to clear.
  6. Check Cookies and other things you want to clear.
  7. Click on the Clear Now button.

That’s all about how do you fix javascript:void(0).

How To Fix HTTP Error 429: Cause And Fixes?

  • linkedin
  • reddit