Tor Browser in Whonix blocks JavaScript (only when started for the first time) and in DispVMs

Hi,

this is actually supposed to be a bugreport but I’m still waiting for my phabricator account to be approved.

Qubes R4.0
whonix-ws-14

Setup guide followed to creat DispVMs:

The issue also occurs on non-dispvms (but only on the first start), on DispVM it happens with every start since every start is the first start…

This is how tor browser looks like when the issue occurs (JavaScript is blocked):

w-tb-not-ok

the settings look like this by default (not manually changed):

removed since new users can only post one image per post…

when visiting relay search:

removed since new users can only post one image per post…

this is how it looks like when it is ok:

removed since new users can only post one image per post…
should look like:

removed since new users can only post one image per post…

1 Like

Im not understanding what the problem. Is NoScript not blocking scripts when it should? What is the expected behavior vs. Actual behavior ?

Whonix does not alter NoScipt in Tor Browser so if this is a bug it should be reported to Tor project.

https://whonix.org/wiki/FAQ#You_Should_Disable_JavaScript_by_Default.21

Tor Browser in whonix-ws-14 based VMs sometimes blocks JavaScript on first start
https://phabricator.whonix.org/T894

Addressed here:
⚓ T894 Tor Browser in whonix-ws-14 based VMs sometimes blocks JavaScript on first start

I’m still having this issue… should it be fixed and released by now?

the version as per dpkg -l output does not really make it clear to me
since that version number is not here Releases · Kicksecure/tb-starter · GitHub

ii tb-updater 3:8.4-1

Do you see these additions wait for tb-updater-first-boot.service · Kicksecure/tb-starter@7827ef3 · GitHub in /usr/bin/torbrowser?

thanks for the fast reply.

Yes I see that function in /usr/bin/torbrowser, but the problem is still the same.

What if you start konsole first, wait a bit, and then start Tor Browser from command line torbrowser?

sleep 30 && torbrowser

is not any better.

I’ve noticed this too and have been following along with the same results. If I change the security slider to a different setting then back to Standard, Javascript starts working. This might be a TBB bug, not Whonix, but I haven’t tested further.

1 Like

I don’t think this is a vanilla torbrowser bug since it only happens in whonix - never with vanilla torbrowser.

Check whonix-ws-dvm.

in dom0.

qvm-start whonix-ws-14-dvm konsole

Do you have a /home/user/.tb folder there? There shouldn’t be one.

Shut down whonix-ws-14-dvm. Start whonix-ws-14 TemplateVM. Run update-torbrowser to get a new copy.


Can you compare a prestine Tor Browser folder from non-Whonix with the one in DispVM?

Or copy a Tor Browser folder form non-Whonix to a Whonix VM and still reproduce?

qvm-start whonix-ws-14-dvm konsole

you meant qvm-run there.

Do you have a /home/user/.tb folder there? There shouldn’t be
one.

There is no such folder (as expected)

ls ~/.tb
ls: cannot access '/home/user/.tb': No such file or directory

Run update-torbrowser to get a new copy.

done, problem still persists.

Can you compare a prestine Tor Browser folder from non-Whonix with the one in DispVM?

diff -r tor-browser_en-US/ .tb/tor-browser
no output (no differences)

Or copy a Tor Browser folder form non-Whonix to a Whonix VM and still reproduce?

mv  .tb/tor-browser  .tor/tor-browser-old2
mv tor-browser_en-US/ .tb/tor-browser
torbrowser

→ reproducable as expected since the folders are identical

1 Like

any update on this issue?

No.

With torbrowser 8.5 this issue became a lot more annoying since the NoScript button is no longer exposed by default and you have to go to Add-ons -> Preferences -> …
to disable it.

Any update on this?

phabricator via Whonix Forum:

Any update on this?

Not that I know.

For reference:

Is this issues expected to be solved in Whonix 15?

If there was one it should now be fixed in Whonix 15 and with later upgrades this will be further solidified. See tb-updater git commit history.