Menu

#4259 Javascript Errors in IE 7

open
5
2008-11-08
2008-11-08
No

There are several JS (Javascript) errors that keep popping up in IE 7, latest version.

I have visited Slashdot since the 90's and have never seen such proliferation of JS errors. Yes I do use firefox and have firebug there so it doesn't interrupt my browsing on FF, but FF takes longer to load and i currently prefer IE.

I'm a software developer for Linux and Windows and none of my sites cause JS errors in IE or FF (Or Opera or Safari for that matter). My IE browser stops on all JS errors because I develop for IE primarily and accomodate FF later due to the forced popularity of IE.

Please fix these JS bugs as they are driving me up the wall. Generally I just avoid sites that are so poorly developed that JS errors come up frequently, and it attunes my brain to the fact that they are probably weakly structured, but this is SLASHDOT, I need my fix so please for the love of bits, fix it.

Discussion

  • Yen Chen

    Yen Chen - 2008-12-24

    IE Version 7.0.6001.18000

    Errors on homepage:
    Line: 1588
    Error: Expected identifier, string or number
    Line: 88
    Error: Object expected
    Line: 186
    Error: Object expected
    Line: 3632
    Error: Object expected

    Errors on http://it.slashdot.org/article.pl?sid=08/12/24/1814222:
    Line: 1588
    Error: Expected identifier, string or number
    Line: 549
    Error: 'YAHOO' is undefined
    Line: 1
    Error: 'Slash' is undefined
    Line: 660
    Error: 'D2' is null or not an object
    Line: 787
    Error: 'D2' is null or not an object

     
  • Jason Johnson

    Jason Johnson - 2009-01-08

    I've been getting the same error in IE 6 for about a month now.

    As a developer, I have JS error dialogs enabled, and it's really annoying to have to click through several of these every time I visit Slashdot (which, as a developer, is usually several times per day! :P).

     
  • Jason Johnson

    Jason Johnson - 2009-01-08

    I get the same "Line 1588" error that chensium reported, and then after the page is almost loaded, I get:

    Line: 315
    Char: 1
    Error: Object expected
    Code: 0
    URL: http://slashdot.org/

    When I view the HTML source, line 315 starts with this code:

    315 $(document).ready(function(){
    316 if($.browser.safari) {
    317 $('div.tag-display').css('display','list-item !important');
    318 $('div.tag-display').css('display','inline-block !important');
    319 $('div#articles div.tag-display.ready.dirty').css({'padding-top':'18px !important','margin-top':'-20px !important'});
    320 $('div#articles div.related').css('display','inline');
    321 }

     

Log in to post a comment.