[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnuzilla] Suggestion: JavaScript button
From: |
Julie Marchant |
Subject: |
Re: [Bug-gnuzilla] Suggestion: JavaScript button |
Date: |
Sat, 21 Jan 2017 19:27:23 -0500 |
On 01/21/2017 06:36 PM, David Hedlund wrote:
> QuickJava can already do this:
> https://addons.mozilla.org/en-US/firefox/addon/quickjava/
No, I wasn't talking about a button to enable and disable JavaScript.
There are tons of extensions that can enable and disable JavaScript;
even QuickJava would be superfluous for that purpose. I was talking
about a button to show the *current page* with JavaScript active, while
otherwise leaving JavaScript disabled, for a limited designated period
of time (probably just until the user navigates away from the page).
Because of the way Firefox handles JavaScript, a Firefox extension
should be able to do this by enabling JavaScript, releading the page,
and then disabling JavaScript again once the page loads. But that's just
an implementation detail and I don't know for sure that it will continue
to work in future Firefox releases. The important thing is for
JavaScript to be globally disabled, but temporarily allowed on a
particular site at the push of a button.
--
Julie Marchant
https://onpon4.github.io
Protect your emails with GnuPG:
https://emailselfdefense.fsf.org
signature.asc
Description: OpenPGP digital signature