From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (out.smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id E6E6F7891B for ; Sat, 5 Dec 2015 16:18:18 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id CA0204009ED; Sat, 5 Dec 2015 16:19:52 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id tB60JqLk021164; Sat, 5 Dec 2015 16:19:52 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id tB60JpIG021157; Sat, 5 Dec 2015 16:19:51 -0800 Date: Sat, 5 Dec 2015 16:19:51 -0800 (PST) From: Kevin Carhart To: Karl Dahlke cc: edbrowse-dev@lists.the-brannons.com In-Reply-To: <20151105093946.eklhad@comcast.net> Message-ID: References: <87vb8gra8x.fsf@mushroom.localdomain> <20151105093946.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] javascript() in timer side effects X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Dec 2015 00:18:19 -0000 Thanks! Wow, this change reveals just how chatty the major websites are. At db4, on the login page of paypal, there is a constant stream of js on a very short interval like '50'. To experience it in a serialized kind of way is interesting, different from either the web in a GUI, or from a completely discrete edbrowse session which is quiet until you trigger it. Kind of reminds me of monitoring tcpdump or an http proxy, except all it's doing is run client side code over and over. (until we open the can of worms of XHR!) On Sat, 5 Dec 2015, Karl Dahlke wrote: >> timer line 1: ReferenceError: javascript is not defined > > It looks like I laid a foundation, to compile the function if it is a string, > or simply set the function member if it is already a function, > and put it under TimerObject.onclick, so I could then call TimerObject.onclick > to run the code, no matter how it got set up, but then I never actually > called that onclick function. > Never took the last step. > I was trying to compile every time or something, so now with this small fix > all three cases work for me: > > "increment()" // compile this string > increment // named function > increment_in_var // var set to function > > Karl Dahlke > _______________________________________________ > Edbrowse-dev mailing list > Edbrowse-dev@lists.the-brannons.com > http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev > -------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists