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.
- Open the console.
- Click the vertical ellipsis icon (or the gear icon on older versions) in the upper right and go to settings.
- 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.