From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-06v.sys.comcast.net (resqmta-ch2-06v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:38]) by hurricane.the-brannons.com (Postfix) with ESMTPS id DDBD27ABA9 for ; Sun, 2 Jun 2019 05:50:58 -0700 (PDT) Received: from resomta-ch2-12v.sys.comcast.net ([69.252.207.108]) by resqmta-ch2-06v.sys.comcast.net with ESMTP id XPsQhKJ5DFk3LXPwwhHYIp; Sun, 02 Jun 2019 12:50:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1559479858; bh=e788Y6L8RjCHnSBQNgT2Q0HyeB10CwiSsGUoputfnqw=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=nBcYwR8KPzmiR+9aQoUqVIHERY8apMvK0XBmZYPbNQJij3VNhZC/7hnMaYfJvN6Tr f/cliser+4S60VWeqBjtl1YCsQEMcpq/hE9f+oLVhEnwtba8smG1DE4Ydq02LVj6pZ z485o69RryvtklaCTEkNnaFYKCgfHKVLM0U8eDEjL53j2YzU3XCAHDsY1A3BUIVPKG rzpxElXF+0fIggcOvcTd/gBTTmwvDVzwf9DtRXYK73hJOc7MENlCsu/lv75sZxOE3K vh6hDi3Sd3gxRG5fC9z5sWYMlbIA3hv1R0JPDsxkp52Dz4gsWQX3aZUo0e+TodcYWb q6cz46GW9bGQw== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-12v.sys.comcast.net with ESMTPSA id XPwuh0Ab7XDhfXPwvhhtrM; Sun, 02 Jun 2019 12:50:57 +0000 X-Xfinity-VMeta: sc=0;st=legit To:edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Subject: [edbrowse-dev] window.location.search and String.search Date: Sun, 02 Jun 2019 08:50:56 -0400 Message-ID: <20190502085056.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Ok this is fun, isn't it? It took me a while even to replicate your situation. The js you refer to comes from a domain doubleclick.net, which I supressed long ago. It's adds, so I don't care about it. nojs = doubleclick.net I commented out the whole nojs block so I could run all the javascript. I still didn't get your file, at all. I realized I routinely spoof the internet by pretending I am internet explorere. (If I don't do this there are no h3 headins on google search) The website doesn't even go down this path for IE. So I set ua0 so I'm back to edbrowse. Now, finally, I fetch the same scripts as you and see the same error. snapshot() Now I can replicated here on my machine and put in breakpoints etc. eval($bp) as you suggest. Yes I'm calling search on a url object. Oops. It's not window location as you thought. a === window.location false Not document.location either. It's document.URL. A little more internet research, and document.URL is suppose to be a string, not a URL, its name notwithstanding. So I was right to think we were barking up the wrong tree, don't mess with overlaid search functions, what is passed in shouldn't be a URL at all. It's a one line fix in ebjs.c line 795. Now the error goes away. But no worries, I'm sure you'll find plenty more. Karl Dahlke