9 Replies Latest reply: Sep 4, 2011 1:24 PM by eriksr
eriksr Level 1 Level 1 (0 points)

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!

  • paulmac89 Level 1 Level 1 (0 points)

    I am having the exact same problem, you are not alone. Another example is the stumble button on stumble upon in which has the action javascript:void(0) simply does nothing. All javascript settings in each browser report they are on, solution would be grand.

     

    Thanks

  • AJD1170 Level 1 Level 1 (55 points)

    There is an updated java for Mac Lion. http://java.com/en/ .This works for Lion. I'm not sure if it will help you , since you said you were having problems before installing Lion.  I'd give it a try anyway.

  • Alley_Cat Level 6 Level 6 (18,450 points)

    Good thought, but hey seem to be having javascript issues not java issues by the sounds of it - quite different programming technologies.

     

    AC

  • Alley_Cat Level 6 Level 6 (18,450 points)

    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

  • paulmac89 Level 1 Level 1 (0 points)

    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

  • eriksr Level 1 Level 1 (0 points)

    Thanks for the thinking, Alley_Cat, but as with paulmac89 my browser was indeed detected properly but the problem remains the same.

  • thomas_r. Level 7 Level 7 (30,115 points)

    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.

  • paulmac89 Level 1 Level 1 (0 points)

    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.

  • eriksr Level 1 Level 1 (0 points)

    Seconding paulmac89 again -- your photo script works fine (in Chrome, in my case) so it does appear to be certain javascript actions.