From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 9C4E777AF8 for ; Fri, 2 Oct 2015 00:03:44 -0700 (PDT) Received: by wicfx3 with SMTP id fx3so18539546wic.0 for ; Fri, 02 Oct 2015 00:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=RrNkKBCI0sZET01w0LH0XH/3JghiC3wJOC64WI50YLg=; b=K/2W2JtecF0rxEAEv/zUgF3/qVbDxlXxgmXUE0NlsYeZZe1ZjrTMcy1XtmFb+3SPK7 Re8n55DbTxSkDgJd2hRe0FKIAhHMhjzBKOKXMqV54L4SDPNmC4knkU9nacTnLa7X5L09 CAE2PG6kDPlImeR5YoWVyQusIGPwbznUoX+3BJGP3f8+5VFyNzLXiY/BblkypuEjbiqx zg4DoGeP7xRNZRKgtjR3vonOqT3EfQqYlPDnTfy1euydoB0xF2PxGJ84E/mb0aCvQ76b KL0+JWOwGyVL85UCO0+ZKEKXN1vNLb15Qq7Ebk1rZn0Hm9+QQsyInMLqBvfc8cgYw3RR dXDA== X-Received: by 10.180.24.102 with SMTP id t6mr2715343wif.83.1443769629786; Fri, 02 Oct 2015 00:07:09 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by smtp.gmail.com with ESMTPSA id bh5sm9780992wjb.42.2015.10.02.00.07.08 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 00:07:08 -0700 (PDT) Date: Fri, 2 Oct 2015 08:07:06 +0100 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20151002070706.GV2254@toaster.adamthompson.me.uk> References: <20150901062410.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NBQMqqtZQBFxm+aD" Content-Disposition: inline In-Reply-To: <20150901062410.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Edbrowse-dev] js circumvented 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, 02 Oct 2015 07:03:45 -0000 --NBQMqqtZQBFxm+aD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 01, 2015 at 06:24:10AM -0400, Karl Dahlke wrote: > Q. How can you read local files on your computer, > that aren't in html, and still run out of js memory? >=20 > a. If those files are very large, and in a format like pdf or some such > that is turned into html and rendered, then you may have megabytes of htm= l, > all turned into js nodes, even the individual words turned into text node= s. > And yet there is no javascript in the generated html, > and it's all a waste, even slows down performance > even if you did have memory for it. Yixe. > I think I should write a routine to detect the lack of js > ahead of time and disable it for this session. > Honestly it's easy to do. > loop over tags, if there is no