JavaScript-Switcher icon indicating copy to clipboard operation
JavaScript-Switcher copied to clipboard

Let user decide what's the default

Open pascalwhoop opened this issue 7 years ago • 14 comments

Hey. What do you think about letting the user decide what is the default? Would that be hard to implement? I got no idea, never wrote a firefox extension. But you could have a toggle "default" with on and off. So everyone can pick their favorite.

pascalwhoop avatar Feb 16 '18 11:02 pascalwhoop

Yes, please. I really need a way to set disabled as default. Isn't there a hidden config somewhere?

pabgan avatar Jun 15 '18 08:06 pabgan

@pascalwhoop So Sorry, I never starred the repository so never got notified of your comment, I will implement that soon, in few day. Really Sorry for so long wait. I would do that very soon. It is not at all hard.

meetDeveloper avatar Nov 02 '18 04:11 meetDeveloper

@pabgan I will implement it in few days. Sorry for so late response.

meetDeveloper avatar Nov 02 '18 04:11 meetDeveloper

If you need anything else feel free to open another issue. I would be more than happy to implement new features.

meetDeveloper avatar Nov 02 '18 04:11 meetDeveloper

Hi @meetDeveloper, thanks for the interest. Is that ready? I did not see any commit or updates in the extension. The extension I am using right now is driving me crazy and I would very much like to use yours.

pabgan avatar Dec 03 '18 08:12 pabgan

@pabgan Sorry Brother, I am getting on it right now, can you tell me what all thing in your extension is driving you crazy, I could better understand the situation that way.

meetDeveloper avatar Dec 03 '18 08:12 meetDeveloper

No worries, thank you for your work.

The one I am using now is https://addons.mozilla.org/es/firefox/addon/disable-javascript/ I have configured it to JS off by default and disable JS by tab, not by domain.

Is driving me crazy two things most of all:

  1. It does not have memory or a whitelist for websites where I do want JS always.
  2. The keyboard shortcut to enable/disable JS does not work 90% of the time, not sure why.

What I would like to do is:

  1. Navigate without JS to the extent possible.
  2. When I really need to use a website and it does not work without JS I want to be able to enable it temporarily with a shortcut, (a button as an extra does not harm) .
  3. If I need to use the non-functioning-without-js website regularly, like the my work's Jira application, then I want to add the domain to a whitelist, with a shortcut too if that is possible.

Thanks again, bro.

El lun, 3 de dic 2018 a las 9:26 AM, meetDeveloper [email protected] escribió:

@pabgan Sorry Brother, I am getting on it right now, can you tell me what all thing in your extension is driving you crazy, I could better understand the situation that way.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

pabgan avatar Dec 03 '18 11:12 pabgan

@pabgan Sorry, for late reply, I missed a notification for this message, I will look into it and improve my extension, I currently do job, and get little time to work on these things. But will surely take up next weekend and improve it.

meetDeveloper avatar Jun 08 '19 16:06 meetDeveloper

@pabgan You may prefer something like NoScript, which provides more advanced control over the scripts your browser loads.

resynth1943 avatar Oct 26 '19 15:10 resynth1943

@resynth1943 , thanks for the suggestion. I actually used that one for a long while, but finally moved on, to other options. I don't recall the reason exactly, might be that it is missing a "temporarily allow this tab" or something like this. I have tried a few extensions and all of them miss something that the others have.

I think I am going to have a little bit more free time next year, and I plan to improve any of those, whichever seems easier.

pabgan avatar Oct 28 '19 07:10 pabgan

@pabgan Can you improve this one?

meetDeveloper avatar Oct 28 '19 11:10 meetDeveloper

I will definitely take a look at it.

pabgan avatar Oct 28 '19 13:10 pabgan

This addon is exactly what I was looking for. But enabling Javascript as the default setting is a bad idea, even if most people want it, because most people do not know how powerful and therefore dangerous javascript is. Please change the default setting to disabled or let the user decide as posted above. We understand, that you have a real life and a job, but please release an update as promised!

ghost avatar May 17 '21 13:05 ghost

fyi the relevant code is setting let whitelist_js = false in background.js

phil294 avatar Apr 17 '22 10:04 phil294