unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Perry E. Metzger" <perry@piermont.com>
Cc: rekado@elephly.net, emacs-devel@gnu.org
Subject: Re: fine grained control of webkit browsing
Date: Wed, 20 Jun 2018 19:26:40 -0400	[thread overview]
Message-ID: <E1fVmUq-0002Oe-24@fencepost.gnu.org> (raw)
In-Reply-To: <20180619212058.35d08bc4@jabberwock.cb.piermont.com> (perry@piermont.com)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > In what computer does that JavaScript program get executed?

  > Inside the same Emacs process on the same machine. WebKit is linked
  > in to Emacs and controls a window. JavaScript is being injected by
  > elisp into the WebKit instance to control it.

  > > Why use JavaScript here?

Now that I see the architecture, I conclude that using JavaScript this way
is not an ethical problem.  It's free code in a program the user installs, so
ethically it's as good as any other free code in a program the user installs.

We could perhaps expose the interface to Lisp by defining Lisp functions
that work by sending JavaScript code.  Somewhat inelegant in implementation,
but that might not matter to Lisp programs that use these functions.


-- 
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





  reply	other threads:[~2018-06-20 23:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-19 15:49 fine grained control of webkit browsing Perry E. Metzger
2018-06-19 16:19 ` Ricardo Wurmus
2018-06-19 16:37   ` Perry E. Metzger
2018-06-19 18:58     ` joakim
2018-06-19 20:51       ` Perry E. Metzger
2018-06-19 21:31         ` joakim
2018-06-20  0:19     ` T.V Raman
2018-06-19 22:57   ` Richard Stallman
2018-06-20  1:20     ` Perry E. Metzger
2018-06-20 23:26       ` Richard Stallman [this message]
2018-06-21  0:00         ` Perry E. Metzger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1fVmUq-0002Oe-24@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=perry@piermont.com \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).