How to Fix “javascript:void(0)” Error in Google Chrome on Windows 10

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

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:

  • 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

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.

How to Fix “javascript:void(0)” Error in Google Chrome on Windows 10 [Video]

Comments

Similar articles

How to Fix – Keyboard Not Working on Windows 10 Laptop?

There’s not much you can do when the keyboard of your Windows 10 laptop stops working. However, before contacting the manufacturer or any other technical assistance, here are a few solutions you can try to fix the keyboard not working problem.

Why Use Kik for Windows 10? How to Download Kik to Your Laptop or PC?

Kik Messenger or simply Kik is a popular messaging application for smartphones. It is used on Android and iOS devices by millions.we’re going to sort out these queries and help you get Kik on your PC or laptop with simple guidelines.

Easy Fixes for 'Microphone Not Working' Problem on Windows 10

If you're unable to record audio on your Windows 10 PC despite having a decent microhphone headset, you may need to check if the mic on your Windows 10 is properly configured or not. Here are the steps to fix the microphone not working issue in Windows 10.

Steps to Set-up & Use Miracast on Windows 10

Miracast is a modern wireless connection technology. It allows you to mirror your device screen like tablets, laptops, and smartphones to another TV or projector.This article is here to guide you on how to set up and use the Miracast technology

How to Fix Steam Missing File Privileges Error in Windows 10?

Did you come across an error that says ‘Missing Files’ or ‘Missing File Privileges’ in Steam? This error happens due to a number of reasons. Let's see how to fix it.

How To Setup MS Office Via Office.Com/Setup?

Experiencing problems installing MS office on your computer? Here's a complete MS office setup guide for you.

*Disclaimer: Any or all product name(s) and company logo(s) used on the website are registered and trademarked by their respective owners.