all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-devel@gnu.org
Subject: Re: Condition to link to javascript code?
Date: Thu, 22 Dec 2016 11:24:07 +0100	[thread overview]
Message-ID: <87y3z8feig.fsf@gmx.us> (raw)
In-Reply-To: E1cJkXG-0005PT-Qt@fencepost.gnu.org

Hi,

Richard Stallman <rms@gnu.org> writes:

> [[[ 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. ]]]
>
>   > > The ethical issue that does arise here is that it would be good to
>   > > give the user the power to optionally select a (perhaps modified)
>   > > version of klisp.js to use.  Is that possible?
>
>   > Yes, it's  just the default  value of a defcustom.   You can change  it to
>   > point to  whichever version  you like  — even on  a file-by-file  basis, I
>   > think.
>
> We are miscommunicating.

Indeed.

> The defcustom can be set by the person who generates the HTML file and
> posts it.  But that's not who I mean by "the user."
>
> I'm talking about the user who visits that HTML file in a browser.
> That is who will run klisp.js, so that's who really should have
> control over which version of klisp.js to run.

If I have write-access to the html file then yes; the user can change the
klipse.js URL in the header of the file.  If it is read-only, as when
published via to the web, then the user would need something like the
Firefox addon "Decentraleyes" (I don’t know if it works with GNU IceCat):

    Protects you against tracking through "free", centralized, content
    delivery. It prevents a lot of requests from reaching networks like
    Google Hosted Libraries, and serves local files to keep sites from
    breaking. Complements regular content blockers.

    https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/


> Is there a way to set that up?

I would advocate a user solution like "Decentraleyes" that would work in
general across pages.

Regards,
Rasmus

-- 
It was you, Jezebel, it was you




  reply	other threads:[~2016-12-22 10:24 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15  3:01 Condition to link to javascript code? Bastien
2016-12-15  3:41 ` Clément Pit--Claudel
2016-12-15 12:12   ` Bastien
2016-12-17 15:47 ` Richard Stallman
2016-12-18 17:47   ` Bastien Guerry
2016-12-19  7:20     ` Elias Mårtenson
2016-12-19  8:06       ` Bastien Guerry
2016-12-19  8:46         ` Elias Mårtenson
2016-12-19 16:32           ` Bastien Guerry
2016-12-19 16:52             ` Clément Pit--Claudel
2016-12-20 18:15             ` Richard Stallman
2016-12-20 19:10               ` Davis Herring
2016-12-21 17:14                 ` Richard Stallman
2016-12-21 11:28               ` Rasmus
2016-12-21 17:18                 ` Richard Stallman
2016-12-22 10:24                   ` Rasmus [this message]
2016-12-22 19:56                     ` Richard Stallman
2016-12-23 13:40                       ` Achim Gratz
2016-12-23 16:18                         ` Richard Stallman
2016-12-24 11:41                           ` Achim Gratz
2016-12-24 18:55                             ` Richard Stallman
2016-12-25 10:04                               ` Achim Gratz
2016-12-25 20:43                                 ` Richard Stallman
2016-12-22  3:13               ` Christopher Allan Webber
2016-12-22 19:54                 ` Richard Stallman
2016-12-23 13:33                   ` Achim Gratz
2016-12-23 16:18                     ` Richard Stallman
2016-12-19 13:44         ` Stefan Monnier
2016-12-19 13:07     ` Richard Stallman
2016-12-19 17:01       ` Bastien Guerry
2016-12-20 18:16         ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=87y3z8feig.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.