Javascript Void 0 is a common error that occurs while users try to access certain webpages. While it is not a major or critical issue, it’s still quite annoying to be blocked from accessing websites without an actual reason.

Since you can experience this problem regardless of what web browser you are using, it’s essential to find the perfect fix. In this article, we will try to do exactly that: fix the JavaScript Void 0 error on Windows 10.

What is javascript void(0)?

As you can already tell, this problem is related to the Java software that’s installed on your device. Javascript is being used by web browsers in order to show the online content properly.

So, when there is something wrong with this software, you cannot access certain content or even the actual web page.

Therefore, it’s important to solve the issue as soon as possible and here are the troubleshooting solutions that can be applied in that respect.

Solutions to fix javascript:void(0) errors

  1. Make sure Java is properly installed.
  2. Enable Java.
  3. Reload the webpage.
  4. Remove cookies.
  5. Clear the cache

Solution 1 – Make sure Java is properly installed

First of all, you have to make sure that Java is installed on your computer. So:

  1. Press the Win+X keyboard keys and from the displayed list choose Control Panel.The exclusive semaphore is owned by another process
  2. From Control Panel switch to Categories and then click on Programs.
  3. Under Programs and Features, click on Uninstall.
  4. The list of all installed programs will be listed.
  5. Search for the Java entry. If you cannot find Java, install it on your PC.
  6. Hint: even if Java is installed, uninstall it and then reinstall the software; in this way you can fix any possible corrupted files or other software conflicts.

Solution 2 – Turn on Java on your browser

You need to enable Java on your browser; now, depending on your favorite browser this option might differ as showed below:

For Google Chrome:

  1. Click on the Menu icon (the three dots from the upper right corner).google chrome settings
  2. Then, choose Settings.
  3. Select Advanced.
  4. Scroll down until you find Content Settings; access this option.allow java chrome
  5. Find the Javascript entry – the ‘allow’ status should be displayed; otherwise choose ‘allow all sites to run JavaScript (recommended)’.

Internet Explorer:

  1. Open IE and launch the Settings menu.
  2. Go to Tools and pick up Internet Options.allow java ie
  3. Switch to Security tab and click on the custom level action button.
  4. Scroll down until your notice the Scripting feature; there you can access the Scripting of Java applets option.
  5. Make sure that its value is ‘enable’.

Mozilla Firefox:

  1. Launch Firefox and click on the Menu icon.
  2. Select Add-ons and then go to the Plugins tab.
  3. Select the Java Platform plugin which should be displayed there.
  4. And pick up ‘always activate’.

Solution 3 – Reload the webpage and clear cache

If the problem is only temporarily you can solve the JavaScript Void 0 error by reloading the webpage by bypassing the cache.

That can be achieved by pressing the CTRL+F5 keyboard hotkeys. Additionally you should also clear the cache on your browser before retrying to access your favorite webpages.

Solution 4 – Remove cookies

Cookies are there to optimize your browsing experience. However, it might also be the reason why you get the JavaScript Void 0 error while trying to access certain websites.

So, you can fix this malfunction by removing cookies.

Here is how you can complete this task for different web browsers:

Google Chrome:

  1. Open Chrome and click on the Menu icon.
  2. Then, select More Tools and pick Clear Browsing Data.
  3. Select the Cookies and other site data entry and perform the wipe.
  4. Restart your browser in the end.

Mozilla Firefox:

  1. Run Firefox and click on the Menu button.
  2. Go to Options and under Privacy & Security choose History.
  3. Under Firefox will choose Use custom settings for history.
  4. Next, click on the Show Cookies button.
  5. Just remove all cookies and restart your browser.

Internet Explorer:

  1. Open your browser and click on the Tools icon.
  2. From Safety pick Delete browsing history.
  3. Choose what you want to wipe.
  4. Click Delete when you are ready.
  5. Restart when everything is completed.

Solution 5: Clear the cache

If the issue persists, clearing the browser cache may help you to fix it. Go to your browser‘s settings page and find the option that allows you to clear browsing data. Locate the cache option and delete all the cache information store in your browser.

For example, if you use Google Chrome, click on the menu icon, go to Settings, Advanced and then navigate to Privacy and Security. Scroll down to Clear browsing data.javascript void(0)

Hopefully, you can now browse through the Internet without any further issues. The steps from above should have helped you fix the Javascipt Void 0 error.

If you have further questions or if you didn’t properly understand some of the steps listed in this guide, don’t hesitate and contact us by using the comments field from down below. We are always here to assist you with the best Windows tips and tricks.


Editor’s Note: This post was originally published in October 2017 and has been since updated for freshness, and accuracy.