browser - Chrome can't load specific pages - possibly due to Javascript
2014-03
So lately I've encountered a strange issue with Chrome where it seems to just not load pages with Javascript in them. Most notably this has been happening with my Facebook home page. Pages will perpetually try to load or become unresponsive entirely.
The reason I think it it's a Javascript issue is because disabling Javascript loads the pages, albeit without complete functionality provided by the Javascript components. It also seems to be an isolated issue as I can load said pages on my laptop just fine despite using the same version of Chrome and Google Account sync.
So yeah I'm not quite sure what to do to get these pages working again. Any help would be appreciated.
It sounds like you may have some rogue extensions.
I would disable extensions, until your browser behaves normally.
I highly doubt it's Chrome's javascript engine. For example, I can access the Facebook home page without issue.
What URLs are causing you issues?
I know how to do it in Firefox - how do I see Javascript errors in Chrome?
You have following options:
Chrome: Press Ctrl+Shift+J (Cmd+Option+J on Mac) and it will give similar functionality. Also consider checking out JavaScript debugger in Chrome. Hitting F12 works as well.
IE7: Nothing built in. But have a look at IE Developer Toolbar.
IE8: Just hit F12 and you will get access to some very capable built-in tools. Error console is on Script tab.
Firefox: Just use FireBug.
Opera: Press Ctrl+Shift+I (Cmd+Option+I on Mac) to launch Opera Drangonfly which is a fully featured development and debugging tool integrated into the Opera browser.
Safari: Enable the Developer Menu from Safari's preferences. It will give access the various tools (Error Console, Web Inspector, JavaScript Profiler, etc). Of course there are also shortcuts, like Cmd+Alt+C for the console.
found it myself: developer tools, then there's a symbol at the bottom left "show console"
Any of these:
- Hit F12 or Ctrl+Shift+I
- right-click on any element on the page, and "Inspect Element"
- Wrench button -> Tools -> Developer Tools
Then go to Console tab
Also, when you are viewing are a page, right-click, select 'Inspect element'
This opens Developer tools in html inspector mode - select 'console' and you can view errors by clicking 'errors' at the bottom