I use Tor browser in whonix-ws-16-dvm. To set the security slider to Safest by default I do in Template:whonix-ws-16:
sudo nano /var/cache/tb-binary/.tb/tor-browser/Browser/TorBrowser/Data/Browser/profile.default/user.js
user_pref(“extensions.torbutton.security_slider”, 1);
After I save that file and shut down the template. this works like expected: the slider is always at Safest when I start Tor browser in whonix-ws-16-dvm.
However I also want to set javascript.enabled to false. I try in the template again
user_pref(“extensions.torbutton.security_slider”, 1);
user_pref(“javascript.enabled”, false);
This doesnt work. javascript.enabled stays true when I check in about:config.
I try
user_pref(“extensions.torbutton.security_slider”, 1);
user_pref(“javascript.enabled”, false);
user_pref(“extensions.torbutton.security_custom”, true);
then javascript.enabled becomes false, but the security slider is set to Standard.
How to set the slider to 1 (safest) and set javascript.enabled to false?