By: -

While browsing the internet on a Windows 10 computer, you may encounter a javascript:void(0) error in Google Chrome. It may look like a critical system error, but it is not.

The javascript:void(0) error stems from a browser misconfiguration. When your browser settings block you from accessing certain websites, you encounter the javascript:void(0) error.

There are four simple ways to fix the javascript:void(0) error in Google Chrome on Windows 10.

1. Bypass the Cache and Reload

Bypass the Cache and Reload

The easiest way to fix the javascript:void(0) error in Google Chrome is bypassing the caches and reloading the page.

You need to refresh the webpage and remove all the outdated caches linked to it. Your browser can access every website if you bypass the caches linked to the website.

It’s simple –

  • Hold the Shift key on your keyboard
  • Click on the ‘Reload’ icon near the address bar of your web browser

While this method is short and simple, there’s a shorter way as well.

Open any website on Google Chrome by typing its URL in the address bar and pressing Enter. When you encounter the javascript:void(0) error, just press the shortcut keys CTRL and ‘F5’ together.

Your browser caches get bypassed and you can access the website with the reloaded page.

2. Enable Java

If that hasn’t solved the javascript:void(0) error in Windows 10, try enabling Java on your web browser.

To fix javascript:void(0) in Firefox,

  • Click on the three dots at the top right corner of the Firefox browser
  • It opens a dropdown menu of Firefox’s settings
  • Click on the option called ‘Add-ons
  • Click on the ‘Java ™ Platform’ plug-in
  • Toggle the plug-in to “always activate

You’ve fixed the javascript:void(0) error in Firefox by enabling Java on the browser.

To fix the javascript:void(0) in Google Chrome,

javascript:void(0) in Google Chrome

  • Go to the three dots on the right side top corner of your Chrome browser
  • A drop-down menu for Chrome’s Settings opens up
  • Scroll down the men and go to the ‘Show Advanced Settings’ option
  • Click on it and a new page pops up
  • Look for a header called ‘Privacy
  • Under it, click on Content Settings
  • Go the heading called JavaScript
  • Click on the option – Allow all sites to run JavaScript (recommended)
  • Click on OK to apply and save the changes

You’ve successfully fixed the javascript:void(0) error in Google Chrome as your browser is now enabled with Java.

3. Get Rid of Your Browser Cookies

Get Rid of Your Browser Cookies

In most cases, the javascript:void(0) error in Windows 10 gets solved by the above method.

However, if the javascript:void(0) error doesn’t get fixed, you need to say goodbye to all the cookies on your browser.

To remove cookies on Google Chrome,

  • Go to the three dots again, and open Chrome’s menu
  • Click on ‘Settings
  • Click on ‘Show Advanced Settings
  • In the ‘Privacy’ section below, click on ‘Content Settings
  • Go the ‘Cookies’ section and select – All cookies and site data
  • Click on the ‘Remove all’ tab to delete all cookies

Restart the browser and try to access those sites again. You won’t face any javascript:void(0) error now.

4. Clear Out Your Browser’s Cache Files

In some cases, the javascript:void(0) error in Firefox browser can be fixed by clearing the cache files.

  • Go to the Firefox menu
  • Select the ‘Options’ tab
  • Go to ‘Advanced’ tab and click on Network
  • Click on the option that says “Cached Web Content
  • Click on ‘clear now

You’ve cleared your browser’s cache files. Now, you can restart Firefox and try accessing those websites again.

Let us know what you think

Your email address will not be published. Required fields are marked *