Share this article

Improve this guide

How to Fix Javascript Void(0) in Chrome, Firefox & Edge

To easily fix the Javascript void error on all browsers, remove clutter & make sure Java is properly enabled

4 min. read

Updated onDecember 7, 2023

updated onDecember 7, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

Before we tackle the steps let’s see what is it exactly we’re dealing with. In other words, what is Javascript void 0 error? Well, Javascript Void 0 is a standard error that occurs when users try to access certain web pages.

While it is not a major or critical issue, it’s still quite annoying to beblocked from accessing websiteswithout an actual reason.

Since you can experience this problem regardless of whatweb browseryou are using, it’s essential to grasp the full Javascript void(0) meaning and find the perfect fix.

Nevertheless, the javascript void error tends to impact Chrome users the most, so we’ll be focusing on how to fix the Javascript void 0 error in Google Chrome.

What does Javascript void mean?

As you can already tell, this problem is related to the Java software installed on your device. Javascript is being used byweb browsersin order to show online content properly.

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

Let’s quickly review some of the most common issues reported by users:

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.

How do I fix JavaScript void 0 in Chrome?

How do I fix JavaScript void 0 in Chrome?

1. Make sure Java is properly installed

2. Turn on Java on your browser

Enable Java on Google Chrome:

  1. Click on the Menu icon (the three dots from the upper right corner).

  2. Then, chooseSettingsand selectAdvanced.

  3. Scroll down until you findContent Settings; access this option.

  4. Find the Javascript entry – the allowed status should be displayed; otherwise choose toallow all sites to run JavaScript (recommended).

Enable Java on Edge:

  1. Open Edge and click on the three dots in the upper right corner.

  2. SelectSettingsfrom theMenu.

  3. In the left pane, look forSite permissionsand click on it.

  4. In the new windows, locate and click onJavaScript.

  5. Toggle the switch next toAllow (recommended)toONand restart the browser to validate the changes.

Enable Java on Firefox:

  1. Launch Firefox and click on theMenuicon.

  2. Select Add-ons and then go to thePluginstab.

  3. Select theJava Platformplugin which should be displayed there.

  4. Finally, pick upalways activate.

You need to enable Java on your browser. Now, depending on your favorite browser this option might differ as shown above.

3. Reload the webpage

If the problem is only temporary you can solve the Javascript:void(0) error by reloading the webpage by bypassing the cache.

That can be achieved by pressing theCTRL+F5keyboard hotkeys. Additionally, you should alsoclear the cache on your browserbefore retrying to access your favorite web pages.

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 differentweb browsers:

Google Chrome:

Mozilla Firefox:

MS Edge:

Alternatively, you can use a specialized tool such as CCleaner to automatically clean your browser’s cookies, trackers, internet history, download history, and cache.

5. Clear the cache

If the issue persists, clearing the browser cache may help you to fix it.

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 toClear browsing data.

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

If you have further questions or if you didn’t correctly understand some of the steps listed in this guide, don’t hesitate to contact us by using the comments field down below.

We are always here to assist you with the best Windows tips and tricks.

More about the topics:Google Chrome Errors,Javascript

Andrew Wafer

Andrew is not just trying to bring you closer to Windows, but he’s truly interested in this platform. He just happens to be passionate about sharing that knowledge with our readers and that’s what makes his presence here, at WindowsReport, such a valuable one.

He specializes in writing about the best products for this operating system and Windows 10 fixes. Determined and creative, Andrew also loves coffee, country music, and Sunday mornings.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Andrew Wafer