Disable plugins in your browser or try another browser.
The issues lies in some conflicting JavaScript, be it a browser addon you installed or some adware that injects itself into web pages you view. Check your browser addons/plugins for anything you don't recognize and I suggest running a scan of your computer with MalwareBytes or something.