From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:39; helo=resqmta-ch2-07v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-07v.sys.comcast.net (resqmta-ch2-07v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:39]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 6827777A9A for ; Sun, 11 Mar 2018 08:12:19 -0700 (PDT) Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-07v.sys.comcast.net with ESMTP id v2exeM9GjsEdAv2fZePe4h; Sun, 11 Mar 2018 15:13:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1520781233; bh=Ofwu8hYzq8SlUbnkA4hNaHI3VmNHt4QIpc4bcZq31Aw=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=D6F5xn88uY62WfGkU9So6Zwccpy5l2gsUX2T6ywYaYB5/t7b0exVFc0ow9y6xeDse rTxLVu/iBWbJ60aoofYMFK0roqmjaOheoM5glNdqgtB8M3TPVQ09LTLuHCnt/vfglz lv+Od1VroDwdxsJAEOV3i3zX53jBdFzmZMXLf2cMJqI9aGdMB/7R2WGGWUIiVy06rD 4WUk9p6zZDaJbL8A9FqkOjlyxcyQOZonxTq4p0jz7j5C5qgnKP1mqPz8yI2cwwr9Hg BsVUfuOyDhp9eZajRjk81DbVn3vd5FEXgaHiu3zGgpgc8BXhZ0uPCriYKRdFAL3SzK E/yULSjeEbThg== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-14v.sys.comcast.net with SMTP id v2fYenrG0VVnzv2fZeqENm; Sun, 11 Mar 2018 15:13:53 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20180204092017.eklhad@comcast.net> <20180311133017.5luo5p5u76xah72g@toaster> User-Agent: edbrowse/3.7.2 Date: Sun, 11 Mar 2018 11:13:52 -0400 Message-ID: <20180211111352.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-317221 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCIBUPTvvksEMC6HENEY27CVgrWCavw/d6Wcw69EEucBQc5s/yROWWmS4d7wfszSBE6I5mAWpYJ61A8VDuVzR/qn4ncMrsPfcIcHSGXeXhCc9e2B+HCo QInsqeKoOWiBQZ1OFUsWSYtekv5PbTTL8Lal/yjAD8mE024j4fzFt9X9 Subject: [Edbrowse-dev] much more general plugin system X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Mar 2018 15:12:19 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-317221 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Adam writes: > an attribute to prevent some protocols > from being called by js from the internet. I touched upon this briefly, suggesting a theoretical way js could get = at local files. TBH, I don't think js should access any of our plugins, period. It fetches files via transport, that's it. I must have been thinking this at a subconscious level, because it's = already implemented, at least 3/4. In the following program, zipx://hole.zip@:@talk is a valid url to extract a file from my zip archive. The db3 log follows.

hello world * b create js context 0 css source zipx://hole.zip@:@talk 894 persistent cookies, 0 expired the zipx protocol is not supported by edbrowse could not fetch CSS execute eb$qs$start execution complete js source zipx://hole.zip@:@talk the zipx protocol is not supported by edbrowse could not fetch javascript execute jg at 9 fetch frame zipx://hole.zip@:@talk plugin ebunzip zipx://hole.zip@:@talk text type is ascii create js context 1 execute eb$qs$start execution complete xhr zipx://hole.zip@:@talk the zipx protocol is not supported by edbrowse execution complete 52 * qt 894 persistent cookies, 0 expired As you see, a frame can tap into our protocols, and I wanted that = because frames are often youtube videos, and I want to type exp and = listen to the video. An approach here might be that frames can run players, but not = converters. A frame will never be a word doc, for instance. What do you think? Karl Dahlke --nextpart-eb-317221--