hackademix / noscript

The popular NoScript Security Suite browser extension.
https://noscript.net/
GNU General Public License v3.0
831 stars 91 forks source link

Whitelist localhost ports? #368

Open Tech-How opened 2 weeks ago

Tech-How commented 2 weeks ago

Hi, I'm wondering if it is possible to whitelist web interfaces that are running on my local computer. For example, I use a program called Syncthing to keep files and folders in sync across my local network. The web interface (on Windows at least) defaults to 127.0.0.1:8384. When I whitelist 127.0.0.1, the web interface still tells me that I must enable JavaScript. When I try to whitelist 127.0.0.1:8384, I am not able to. I'm setting them both to trusted. Is this something that can be achieved?

jtotht commented 2 weeks ago

On a Linux (Debian 12, Firefox 115.12.0esr), I was able to allow JavaScript on http://127.0.0.1:8000 by selecting the entry http://**127.0.0.1** in the popup (and I’ve always managed to do so using various localhost ports). I have List full addresses in the permissions popup (https://www.noscript.net) enabled in NoScript Settings → Appearance, maybe that’s the trick?