Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Javascript does not work in any browsers

Hello all,


Have had this problem for about five months now, not sure when it started. Essentially Javascript actions don't seem to work in browsers. This is most evident on a site such as Reddit (www.reddit.com), where, even logged in, the UP/DOWN voting arrows simply don't work.


I've tried Safari, Chrome, Opera, and Firefox and the problem persists, telling me it is a system issue. I've since upgraded to Lion and it persists.


I know I can just wipe the system and start from scratch but I'm simply too busy to deal with the days of lost productivity. Can anyone give me some leads on where to look?


Thanks!

Posted on Aug 28, 2011 12:37 PM

Reply
9 replies

Sep 4, 2011 12:35 AM in response to eriksr

If it's affecting all browsers, most of which should use their own javascript engines, it may be that the sites' routines are using a platform detect function and then not handling things properly for Macs, but ok for other platforms.


http://www.quirksmode.org/js/detect.html


Might be worth contacting the affected sites, or trying another Mac to see if they work ok on that.


With Safari at least often worth resetting browser settings/clearing cache etc but if you have lots of pre-filled form/passwords watch you don't wipe these unless you remember the correct entries.


AC

Sep 4, 2011 2:52 AM in response to Alley_Cat

Thanks for the reply, I don't really have access to another mac in order to try it out and I have tried clearing the browser settings etc.


The javascript detection script AC posted properly detects the browser version and operating system on all browsers.


Its strange because as AC said, I thought the JS engines were contained to each browser but it seems they are all effected at OS level. Might just have to re-install Lion.


Thanks

Sep 4, 2011 12:38 PM in response to paulmac89

The javascript detection script AC posted properly detects the browser version and operating system on all browsers.


That's not the point, though... some sites may be coded specifically for, say, Internet Explorer, which means they'll only work properly on Windows. This is extremely poor design, but it happens.


Are you having trouble with ALL JavaScript, or just on certain sites? If you're not sure, try visiting one of my photo galleries:


http://www.reedcorner.net/thomas/photos/nature/


When you click on one of the photos, it uses JavaScript to display a pop-up image showing the image at a larger size. That code should work in Safari... I just double-checked and it does work in Safari 5.1 under Lion. If it works for you, you're seeing a problem with certain sites, not with your machine as a whole.

Sep 4, 2011 12:50 PM in response to thomas_r.

I appreciate your reply but that might not be the point either, I highly doubt that stuble upon is not designed for chrome or safari on a mac and also the fact that it was working on snow leopard no problem before renforces my point that it is an OS level issue. Im not completely ruling out that it is a specific website issue but then it begs the question, why?


Your website works but it could be a problem with certain javascript actions rather than javascript completely.

Javascript does not work in any browsers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.