A lot of users are getting the error message in question when trying to access a specific website. According to them, the website goes blank and all they see is a pop-up that says "Javascript:void(0)". The following are the causes for the JavaScript:void(0) error.
You are using anti-pop up software. Although most of us tend to configure the pop-up setting to not show any of it, there are some who download an anti-pop-up app that can interfere with your browser and cause the issue.
The issue can also occur if the JavaScript is disabled on your browser.
If the browser that you are using is outdated, then also, you can see the error in question.
It can also happen due to a corrupted cache or cookies.