Chrome blocking javascript on localhost

Solution 1:

If you notice that JavaScript is only blocked when the console is open (as some are saying), chances are that you disabled JavaScript in the console settings.

  1. Open the console.
  2. Click the vertical ellipsis icon (or the gear icon on older versions) in the upper right and go to settings.
  3. See if the "Disable JavaScript" checkbox is checked.

Solution 2:

I have the same issue, but only when the console is open. When the console is closed, JavaScript loads fine on localhost. Makes it hard to debug things though....

I got around it by opening localhost in an incognito window.