From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Permerror (mailfrom) identity=mailfrom; client-ip=2001:41d0:1:7a93::1; helo=nautica.notk.org; envelope-from=asmadeus@notk.org; receiver= Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8DDFD7A586 for ; Sat, 13 Jan 2018 09:09:04 -0800 (PST) Received: by nautica.notk.org (Postfix, from userid 1001) id 90F83C009; Sat, 13 Jan 2018 18:12:23 +0100 (CET) Date: Sat, 13 Jan 2018 18:12:08 +0100 From: Dominique Martinet To: edbrowse-dev@lists.the-brannons.com Message-ID: <20180113171208.GA20682@nautica> References: <20180013091101.eklhad@comcast.net> <20180113162715.GA16048@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180113162715.GA16048@nautica> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [Edbrowse-dev] amazon and its JS X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2018 17:09:05 -0000 Dominique Martinet wrote on Sat, Jan 13, 2018: > I have only walked through the very first of these : > querySelectorAll seems to be invoked from document > (e.g. document.querySelectorAll()) modulo tons of obfuscation. > I thought this would be easy to fix by just adding a line in > startwindows.js like this : > document.querySelectorAll = querySelectorAll > But that doesn't seem to work because querySelectorAll is defined in > third.js, not sure how to proceed here. Karl told me where to put that line in third.js, I now have two new exceptions instead: TypeError: undefined not callable (property 'getBoundingClientRect' of [object Object]) (line 1) (oddly enough not from duk debugger, only edbrowse sees this one?) and caught throw: TypeError: undefined not callable (property 'getExtension' of [object Object]) (line 18) (from a timer) Looking this up getExtension seems to be a webGL thing so probably not for us... getBoundingClientRect is also something graphical to get the square coordinates of something, not sure how that'd block us either, but anything goes. With querySelectorAll hitting submit after entering my password takes much longer than it previously did before sending the post request, but I cannot see any difference with it (the openid.return_to token is different but it might be everytime): before: appActionToken=duOgjKNIs7R4LCPldTzPEC8NUbwj3D&appAction=SIGNIN&openid.pape.max_auth_age=ape%3AMA%3D%3D&openid.identity=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q%3D&pageId=ape%3AdXNmbGV4&ignoreAuthState=ape%3AMQ%3D%3D&openid.return_to=ape%3AaHR0cHM6Ly93d3cuYW1hem9uLmNvbT9fZW5jb2Rpbmc9VVRGOCZyZWZfPW5hdl95YV9zaWduaW4%3D&prevRID=ape%3AUzVFMDRRV0NSVzdCVjg5MFRLUFE%3D&openid.assoc_handle=ape%3AdXNmbGV4&openid.mode=ape%3AY2hlY2tpZF9zZXR1cA%3D%3D&openid.ns.pape=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvZXh0ZW5zaW9ucy9wYXBlLzEuMA%3D%3D&prepopulatedLoginId=&failedSignInCount=ape%3AMA%3D%3D&openid.claimed_id=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q%3D&openid.ns=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjA%3D&email=mymail&create=0&password=mypass&signInSubmit=Submit after: appActionToken=duOgjKNIs7R4LCPldTzPEC8NUbwj3D&appAction=SIGNIN&openid.pape.max_auth_age=ape%3AMA%3D%3D&openid.identity=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q%3D&pageId=ape%3AdXNmbGV4&ignoreAuthState=ape%3AMQ%3D%3D&openid.return_to=ape%3AaHR0cHM6Ly93d3cuYW1hem9uLmNvbS8%2FX2VuY29kaW5nPVVURjgmcmVmXz1uYXZfeWFfc2lnbmlu&prevRID=ape%3AM1BGOUJNOUFKTjhaUEJWM1JRVDk%3D&openid.assoc_handle=ape%3AdXNmbGV4&openid.mode=ape%3AY2hlY2tpZF9zZXR1cA%3D%3D&openid.ns.pape=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvZXh0ZW5zaW9ucy9wYXBlLzEuMA%3D%3D&prepopulatedLoginId=&failedSignInCount=ape%3AMA%3D%3D&openid.claimed_id=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjAvaWRlbnRpZmllcl9zZWxlY3Q%3D&openid.ns=ape%3AaHR0cDovL3NwZWNzLm9wZW5pZC5uZXQvYXV0aC8yLjA%3D&email=mymail&create=0&password=mypass&signInSubmit=Submit so I guess this is a dead end... I have repushed master with querySelectorAll added where Karl suggested, can't hurt to have for everyone, and moved the debugger code to a new branch called debugger (still in my tree) to separate the two. -- Dominique