Chrome: Turn off Javascript support - chrome://settings/content/javascript
Firefox: Install NoScript and disable Javascript support.
Both have the advantage that you can whitelist sites that you trust.