emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Condition to link to javascript code?


From: Rasmus
Subject: Re: Condition to link to javascript code?
Date: Thu, 22 Dec 2016 11:24:07 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hi,

Richard Stallman <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]