Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #22152

Re: How to determine and to prevent javascript being hacked?

Newsgroups comp.lang.javascript
Date 2013-11-22 14:50 -0800
References <2b5cc6d4-c970-4faa-b169-4300e2935be4@googlegroups.com> <528deb24$0$6627$9b4e6d93@newsspool2.arcor-online.net> <d9447e08-8851-4a86-9199-1cf7aeaf1faf@googlegroups.com> <528fab87$0$6560$9b4e6d93@newsspool4.arcor-online.net>
Message-ID <968fdaae-78db-4459-9002-e84089099aad@googlegroups.com> (permalink)
Subject Re: How to determine and to prevent javascript being hacked?
From justaguy <lichunshen84@gmail.com>

Show all headers | View raw


On Friday, November 22, 2013 2:08:01 PM UTC-5, Christoph Michael Becker wrote:
> justaguy wrote:
> 
> 
> 
> > On Thursday, November 21, 2013 6:14:51 AM UTC-5, Christoph Michael
> 
> > Becker wrote:
> 
> > 
> 
> >> justaguy wrote:
> 
> >> 
> 
> >>> I have a web app that runs locally.  I divide the screen into
> 
> >>> two and make each element on the right panel clickable, upon
> 
> >>> click it loads data into the left panel.  It's been working for
> 
> >>> several months for Chrome, Firefox and Safari browsers.  But all
> 
> >>> of a sudden, this javascript no longer functions for Chrome 31
> 
> >>> while it works fine with Firefox 25 and Safari 5.
> 
> >>> 
> 
> >>> Firebug indicates all the js codes were executed while Chrome 
> 
> >>> indicated that top portion of the js codes were executed but all
> 
> >>> but absolutely zero error.
> 
> >>> 
> 
> >>> Any thoughts?
> 
> >> 
> 
> >> You can use Chrome's built-in debugger[1] to check the actual
> 
> >> control flow.
> 
> >> 
> 
> >> [1] <http://devtoolsecrets.com/>
> 
> >> 
> 
> > 
> 
> > Does the F12 key do the same thing?  
> 
> 
> 
> Pressing F12 opens the developer tools in Chrome.
> 
> 
> 
> >                                      I watched js code execution in
> 
> > Chrome with this window.  
> 
> 
> 
> What do you mean exactly?  Did you just have a look at the (error)
No errors at Console.  However, two lines of code has not been executed.

> console, or did you actually use the debugger to step through the code?
How do I activate the debugger?

> 
> 
> 
> >                           It's likely that my computer has been
> 
> > planted with a virus that caused this issue... And publicly available
> 
> > anti-virus program won't be able to fix it...
> 
> 
> 
> I rather guess, that there was some change in Chrome 31 that breaks your
> code.
Probably you're right.  If so I might not be the only who has been adversely affected.  Do you have a link or email handy to report it to Google Chrome team?

Thanks.



> 
> 
> 
> -- 
> 
> Christoph M. Becker

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to determine and to prevent javascript being hacked? justaguy <lichunshen84@gmail.com> - 2013-11-20 17:56 -0800
  Re: How to determine and to prevent javascript being hacked? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2013-11-20 18:42 -0800
  Re: How to determine and to prevent javascript being hacked? Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-21 02:57 +0000
    Re: How to determine and to prevent javascript being hacked? John Harris <niam@jghnorth.org.uk.invalid> - 2013-11-21 10:50 +0000
  Re: How to determine and to prevent javascript being hacked? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-21 12:14 +0100
    Re: How to determine and to prevent javascript being hacked? justaguy <lichunshen84@gmail.com> - 2013-11-21 20:25 -0800
      Re: How to determine and to prevent javascript being hacked? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 15:18 +0100
      Re: How to determine and to prevent javascript being hacked? Christoph Michael Becker <cmbecker69@arcor.de> - 2013-11-22 20:08 +0100
        Re: How to determine and to prevent javascript being hacked? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-22 22:15 +0100
        Re: How to determine and to prevent javascript being hacked? justaguy <lichunshen84@gmail.com> - 2013-11-22 14:50 -0800
          Re: How to determine and to prevent javascript being hacked? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-11-23 00:16 +0100
          Re: How to determine and to prevent javascript being hacked? Denis McMahon <denismfmcmahon@gmail.com> - 2013-11-23 01:38 +0000
            Re: How to determine and to prevent javascript being hacked? justaguy <lichunshen84@gmail.com> - 2013-11-23 14:30 -0800
  Re: How to determine and to prevent javascript being hacked? (Resolved) justaguy <lichunshen84@gmail.com> - 2013-11-28 11:22 -0800

csiph-web