Might as well call this "javascriptIsJavaScriptEnabled()"


  • Trolleybus Mechanic

    Did you know that I had to use GreaseMonkey to rewrite my bank's login page?  Yes, it's true! Amazing fact, that little nugget is.

    Why?  Well, because it is broken, of course.

    Why? Oh, how I wish I could answer that. But I cannot. For to do so, I would have to explain why the following piece of [b]javascript[/b] code even exists:

     

    function validateSignon()
    {
        var msg=
                         "In order to access all the functions of Online Banking,\n"+
                         "you need to modify your browser settings to enable cookies and JavaScript.\n"+
                         "For instructions on how to enable cookies, please see the Help section on the sign in page.";
        if ( !false )
        {
            alert (msg);
            return false;
        }
        else
        {
            return  true;
        }
      }




  • I can see how stupid it is. However, I also think it is stupid that the bank login using HTTP. It is better if it use SSH instead.



  • Well, it's possible that JS is being written by the back-end in response to your browser failing to store cookies it's trying to set? Maybe?

    Aw, who am I kidding. WTF.



  •  Yeah, WTF.

    Hey, maybe Alex can install "like" and "don't like" buttons on OPs. But they'd be labeled "WTF" and "Mug".



  • @dhromed said:

    Hey, maybe Alex can install "like" and "don't like" buttons on OPs. But they'd be labeled "WTF" and "Mug".

    Ya know, we have a thread rating system. I bet it's easy to change this to a like/dislike system by exchanging some images and links (i.e. only allow 1 or 5 star ratings and replace the star images with a wtf sign and a mug, and 3 transitional images)


  • Discourse touched me in a no-no place

    @zzo38 said:

    I can see how stupid it is. However, I also think it is stupid that the bank login using HTTP. It is better if it use SSH instead.
    Did you mean SSL?



  • @PJH said:

    Did you mean SSL?
     

    No, SSH. It's WAY better than doing online banking over telnet, I can tell you.



  • @PSWorx said:

    @PJH said:

    Did you mean SSL?
     

    No, SSH. It's WAY better than doing online banking over telnet, I can tell you.

    TRUE STORY (by which I mean boring): My bank used to have an "online banking" system where, for security, you needed to dial a modem directly into their telnet system and do your banking that way. I called them up back in like 1998 asking about "online banking" and they sent me the disk with the modem software-- of course it didn't run on my Mac at the time, it was Windows-only. (Not that that mattered, since I didn't own a modem by then either.)

    Because of that, I didn't try online banking again until... 2007? Or so. Whenever anybody would tell me they were using online banking, I assumed they had a fucking modem! This is why WTFs matter, due to their WTF I didn't try their product for almost a full decade.



  • @Lorne Kates said:

    if ( !false )

    You could've just posted that as a Representative Line. :)


  • Trolleybus Mechanic

    @blakeyrat said:

    My bank used to have an "online banking" system where, for security, you needed to dial a modem directly into their telnet system and do your banking that way.
     

    I'll bore you one better. In the mid 90's, my local library offered the same dial-in terminal for the in-stock and reservation system. It was quite nifty to recreate the library experience at home-- except that they recreated it too well. The system may not have been bound by flesh and walls-- but it was by the library hours. They shut off the fully automated, fully computerized system every day at 9pm (4:30pm weekends), and didn't turn it back on until 9am the next day.


  • Trolleybus Mechanic

    @blakeyrat said:

    Well, it's possible that JS is being written by the back-end in response to your browser failing to store cookies it's trying to set? Maybe?
     

    Yeah, I thought the same thing. But I have cookies and JS enabled.  I even went so far as to turn off Adblock and Noscript entirely for the site, clear the cache, clear my cookies, and visit the site via Private Browsing.



  • @Lorne Kates said:

    I even went so far as to turn off Adblock and Noscript entirely for the site, clear the cache, clear my cookies, and visit the site via Private Browsing.

    Yah, but if you're in Private Browsing mode, you're not storing cookies... so...


  • Trolleybus Mechanic

    @blakeyrat said:

    @Lorne Kates said:
    I even went so far as to turn off Adblock and Noscript entirely for the site, clear the cache, clear my cookies, and visit the site via Private Browsing.

    Yah, but if you're in Private Browsing mode, you're not storing cookies... so...

     

    It was a troublesooting longshot. I figured if there was a rotten cookie jammed up in there or something, PB might flush it out.



  • @blakeyrat said:

    @Lorne Kates said:
    I even went so far as to turn off Adblock and Noscript entirely for the site, clear the cache, clear my cookies, and visit the site via Private Browsing.

    Yah, but if you're in Private Browsing mode, you're not storing cookies... so...

    Not sure how it works with other browsers, but in Chrome cookies are stored temporarily while using incognito mode. They are just discarded when you close the browser, whatever their intended duration might have been.


Log in to reply