Opened 11 years ago

Closed 3 years ago

#786 closed defect (wontfix)

file urls cannot be re-enabled after being disabled

Reported by: anonym Owned by: tbb-team
Priority: Low Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-usability
Cc: anonym, arma, mikeperry, JustMe Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by gk)

As promised over irc, here's the bug report:

Torbutton is configured to disable plugins. With Torbutton enabled I go to
www.youtube.com and click some random clip. As expected, it complains about
that flash is missing. I disable Torbutton and reload the page, but the
complaint remains. Re-entering the address in the same tab won't work
either, and clearing the cache does nothing.

However, if I open a new tab and copy-paste the same address into it, that
works. This new, "good" tab can happily co-exist with the old, "bad" tab,
which stays bad, unable to load flash. So this seems to be tab specific.

Even if I choose the bad tab an go back to www.youtube.com and again choose
some random clip (or the same one, even by re-entering the address) flash
won't load. The only cure for the bad tab seems to be to visit another site
and then go back to some youtube clip. Weird stuff.

This is with Torbutton 1.2.0 (not available yet under "Reported version").

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (14)

comment:1 Changed 11 years ago by anonym

I just noticed that this bug seems to affect other things than plugins too.
If block_tor_file_net is set, Torbutton is enabled and I visit a local plain
html file with links (no other fancy stuff except for pictures), the links
obviously doesn't work at first. I then disable Torbutton and the links still
won't work. Refreshing the the document does nothing -- I will have to open a
new tab and copy-paste the address for them to get working in the new tab,
just like in the case for the flash plugin. The only way to cure the old tab
is to visit some other address and going back.

Maybe we are dealing with something really nasty here?

comment:2 Changed 11 years ago by anonym

One more thing above the html document case:

1) I load the document in a fresh tab while Torbutton is disabled
2) I enable Torbutton
3) Without refreshing the page in any way I verify that links don't work
(which they don't so all is good)
4) I disable Torbutton again
5) Withough refreshing the page this time either I click a link, and now
they work

So it seems to have to do something with if the page was loaded with
Torbutton enabled or disabled, and that this somehow makes the state from
when Torbutton was enabled stay in the tab to when Torbutton is disabled,
but the state is removed when a new document is loaded.

comment:3 Changed 11 years ago by mikeperry

Hrmm, I can't reproduce this with Firefox 3. Is this still a bug for FF3?

comment:4 Changed 11 years ago by anonym

I cannot reproduce the flash-plugin glitch in FF3 + swfdec either, so that's good I
guess. My original bug report was with FF2 + adboe flash btw. I'll get back to you
if I get this problem with FF3 + adobe flash. I'll also check the java plugin.

I can reproduce the html document stuff mentioned in my comments from 2 aug,
however. But _only_ if Firefox started with Torbutton enabled. If Torbutton starts
disabled I cannot reproduce it and everything is fine. Weird stuff. I never noticed
that before, so I'm not sure if there's a difference between FF2 and FF3.

comment:5 Changed 11 years ago by mikeperry

Wait, starting with Tor enabled? Can you go through the step by step then for reproducing again, because
you listed starting it with disabled. Is it just the opposite now? And is it only for file urls, or any page?

comment:6 Changed 11 years ago by anonym

Sorry, I was very unclear on what I meant. I mean starting Firefox with
Torbutton enabled on Firefox startup as per the Torbutton preferences.

Here are the complete steps for re-creating it:
1) Start a fresh FF3 profile with Torbutton installed
2) Configure Torbutton to start enabled on normal Firefox startup
(Torbutton preferences -> Security Settings -> Startup)
3) Exit Firefox
4) Start Firefox (Torbutton should be enabled on startup)
5) Go to file://something in the first tab that was opened by Firefox
6) Click on an non-file link (ok, I've only tried http) and confirm that
the link doesn't work, which is expected
7) Disable Torbutton
8) Click on the same link again; nothing happens, which is unexpected
9) Click the address bar and press enter to make the page reload the way
Torbutton requires
10) Click on the link once more, it doesn't work, which is unexpected
11) Open a new tab and go to file://something (you may keep the old tab,
but the instructions below are now supposed to be done in the new tab)
12) Click on the same link yet again, now it works, which is expected
13) Enable Torbutton
14) In the new tab, go to file://something again
15) Click the link again, it doesn't work, which is expected

So, the first tab opened with Firefox will never be able to open a
non-local link in file://something, but this doesn't affect new tabs.

Any (un)luck?

comment:7 Changed 11 years ago by mikeperry

Ok, yeah, I've got a repro. It seems to be due to firefox not calling nsIWebprogressListeners for
file urls... Not sure what to do about that right now.. I either need to find a new listener,
or find some other place to tag freshly loaded file urls..

How about the priginal plugin issue? can you give detailed instructions on reproing that? I can't
seem to get it to happen. That part is definitely higher priority anyways, as it is much more
common than file urls.

comment:8 Changed 11 years ago by anonym

As I said, I cannot reproduce the bug for plugins in FF3. In FF2 I can reproduce
it with these steps:

1) Perform steps 1-4 above, but also install Adobe's or swfdec's flash plugin.
2) Go to youtube.com and click on some random clip.
3) Confirm that the flash player doesn't load, which expected.
4) Disable Torbutton and reload through the address bar.
5) Confirm that the flash player still doesn't load, which unexpected.
6) Open a new tab and copy-paste and visit the same URL.
7) Confirm that the flash player loads in this tab, which is expected but still
inconsistent with the first tab.

comment:9 Changed 10 years ago by JustMe

I have this same problem and have been trying to find an answer all over - the flash problem.

I have ff 3.5, updated, and it still won't show any flash. I took a few screenshots if I could figure how to add them.

It's exactly the same symptoms. Turn off Tor using torbutton, it works fine. Turn it on, it keeps telling me I need to install the latest Flash player. And I've tried that too, but no change.

Also, I've noticed that yahoo.com in the u.s. doesn't display right. Again, I have screen shots. But it will show up just fine from any other country other than my own. It's very strange.

Please let me know if there's been any luck finding some solution.

Thanks.

comment:10 Changed 10 years ago by JustMe

I'm using Torbutton 1.2.1 if it matters, on Vista 64-bit, ff3.5.

comment:11 Changed 9 years ago by yahia999

I FOUND A SOLUTION: WORKS WITH BOTH VIDALIA BUNDLE AND TORBUTTON
I was recently researching how to resolve this problem, until i tried some methods and this worked with me, along with many other cases::
(1) Download adobe flash player from this link: http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-win.xpi by right-clicking the link and choosing 'Save Target As'
(2) Use WinRAR or any archiving utility to extract EVERYTHING in the archive into the directories (Tor Browser\FirefoxPortable\App\Firefox\plugins) and (C:\Tor Browser\FirefoxPortable\App\DefaultData\plugins)' in case of Vidalia Bundle.
(3)(This step (3) resolves the problem for both Vidalia and TorButton, if you use TorButton then start here if you after you've installed flash player, not before that)
Open your Firefox Browser and right click the TorButton and choose Preferences>Secuirty Settings>Dynamic Content and uncheck "Disable plugins during Tor usage" .
(4)Click Ok and restart Firefox. Visit youtube and watch a video to see for yourself :D let me know if it doesnt work XD Good Luck...

comment:12 in reply to:  11 Changed 9 years ago by tor.tor

Replying to yahia999:

I FOUND A SOLUTION: WORKS WITH BOTH VIDALIA BUNDLE AND TORBUTTON
I was recently researching how to resolve this problem, until i tried some methods and this worked with me, along with many other cases::
(1) Download adobe flash player from this link: http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-win.xpi by right-clicking the link and choosing 'Save Target As'
(2) Use WinRAR or any archiving utility to extract EVERYTHING in the archive into the directories (Tor Browser\FirefoxPortable\App\Firefox\plugins) and (C:\Tor Browser\FirefoxPortable\App\DefaultData\plugins)' in case of Vidalia Bundle.
(3)(This step (3) resolves the problem for both Vidalia and TorButton, if you use TorButton then start here if you after you've installed flash player, not before that)
Open your Firefox Browser and right click the TorButton and choose Preferences>Secuirty Settings>Dynamic Content and uncheck "Disable plugins during Tor usage" .
(4)Click Ok and restart Firefox. Visit youtube and watch a video to see for yourself :D let me know if it doesnt work XD Good Luck...

assuming i used this way above...am i going to stay hidden (about my IP)??? or i am going to clear my real IP....

comment:13 Changed 3 years ago by bugzilla

Cc: anonym,arma,mikeperry,JustMeanonym, arma, mikeperry, JustMe
Component: Applications/TorbuttonApplications/Tor Browser
Keywords: tbb-usability added
Owner: set to tbb-team
Severity: Normal
Status: newassigned
Version: 1.2.0rc5

This new, "good" tab can happily co-exist with the old, "bad" tab, which stays bad

This behavior still appears sometimes.

comment:14 Changed 3 years ago by gk

Description: modified (diff)
Resolution: Nonewontfix
Status: assignedclosed

This is from the toggle area and does not apply to modern Tor Browser versions. If there is a similar looking bug without toggle involvement, please open a new ticket.

Note: See TracTickets for help on using tickets.