From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1AE0677E89 for ; Fri, 25 Sep 2015 00:21:52 -0700 (PDT) Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-03v.sys.comcast.net with comcast id MKR21r0032PT3Qt01KR2x5; Fri, 25 Sep 2015 07:25:02 +0000 Received: from eklhad ([IPv6:2601:405:4002:b0a:21e:4fff:fec2:a0f1]) by resomta-ch2-14v.sys.comcast.net with comcast id MKR21r0040GArqr01KR2ek; Fri, 25 Sep 2015 07:25:02 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.4.2+ Date: Fri, 25 Sep 2015 03:25:02 -0400 Message-ID: <20150825032502.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1443165902; bh=aoZMLWv6EsHzoS6LVsQE/YVv/fQRE7rEkm0ftlldG0g=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=JPAwKQ2J0EyExjz0P6YF/8uvc93LKdjZ8u0EYBcLYuFt3dgkzheHf4I3QwJQhgsm0 dNyAy1ejtRsLaqCuPXe/AsL10IL8trRmCzro18qQcyf++S4/EXCgcVPewbocttJpWb 7cAzlUgF2ribuXeA1TKfMbEh7FSjzcbTz+RGcJ360AEn+Y2Q1bV15oxYnaZMwaL0kU 1XxpjKqfWobvdFRz3HGsAAPdp2QgT7eBMtMVOSJuv3NWWbwmlyK7fxQf8TxarM1l7r CKUOhHwf3TibOogFLfwGuswREEQ4cZBBr2kvIAFjua1GIOVQ0m8aNndUesCpgUD+DI bjwTK3n5VK6rw== Subject: [Edbrowse-dev] js command line access 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: Fri, 25 Sep 2015 07:21:52 -0000 Kevin wrote me in a pm, and I hope he doesn't mind me relaying here... I created a crude JS console within edbrowse, for use especially on getting the DOM to work. I noticed that javaParseExecute will accept any string, so I hooked into twoLetter, used a letter that wasn't in use, and brought querying of objects into the edbrowse command line, like... * document.childNodes.length 23 * var blah = document.getElementsByTagName("INPUT") ok * blah.length 25 * blah[5].name price_range This is damn clever! I mean really. I'm thinking it should be part of the real program, not as anything we would advertise, not a feature for the public, but like the higher levels of db, just something for us. What do others think of this idea? It would have to be a 2 letter or multi letter command that casual users wouldn't stumble on by accident. Maybe jsca for javascript comand access. Imagine stopping in the middle of a web page and poking around the dom. For debugging, set a variable like innerHTML and see if the side effects really happen. Or like yesterday I had a nasty email I wanted to unsubscribe from, cause its just marketing crap, and I pushed the button and js stopped because something was missing in the dom. Imagine I went to the js console and just put an object there, or whatever, so js would be happy and send on my unsubscribe request. That would be cool. This was one of those forms that can't be done without js by the way, so for now I'm still subscribed to their shit. anyways, do people think a backdoor to the dom would be useful for us, assuming the public wouldn't fall through it accidentally, and if yes then perhaps Kevin you could send me a patch, cause it sounds like you've already done most of the work. Karl Dahlke