dpacassi / disable-javascript

Adds the ability to disable JavaScript on specific sites.
MIT License
275 stars 36 forks source link

Re-fill form fields when toggling Javascript #91

Open roipoussiere opened 3 years ago

roipoussiere commented 3 years ago

When the user clicks on the no-JS button, the page reloads without keeping the current fields content.

This data lost can be annoying: suppose that the user writes a long markdown text in a text-area, then clicks on a preview button that renders the markdown on the client-side. It will not work since JS is disabled, so the user enabled JS, but at this moment he/she will lost all the form content.

It could be practical to fill all the form inputs by their previous value when reloading the page.

Manu404 commented 1 day ago

Don't worry fixing this, the owner of the extension changed and the new owner included malware code in the extension that can steal auth tokens.

I encourage any user to report this extension to the mozilla foundation with a clear explanation of the situation and uninstall this, the risk isn't worth it, at all.

More info: https://github.com/dpacassi/disable-javascript/issues/118