[tor-bugs] #10472 [Tor bundles/installation]: Pass command line arguments to Firefox

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Dec 23 07:27:26 UTC 2013


#10472: Pass command line arguments to Firefox
--------------------------------------+-----------------------
 Reporter:  gacar                     |          Owner:  erinn
     Type:  enhancement               |         Status:  new
 Priority:  normal                    |      Milestone:
Component:  Tor bundles/installation  |        Version:
 Keywords:  tbb-3.0, tbb-usability    |  Actual Points:
Parent ID:                            |         Points:
--------------------------------------+-----------------------
 start-tor-browser script reads:

 > # XXX Someday we should pass whatever command-line arguments we got
 > # (probably filenames or URLs) to Firefox.

 Now that Vidalia is removed from the bundle, passing command line
 parameters from start-tor-browser to Firefox seems straightforward.

 This could be very convenient for launching TBB with a specific URL to run
 tests or experiments. See also comment by Roger:
 http://tor.stackexchange.com/questions/84/how-do-i-create-a-launcher-
 script-that-opens-an-url-in-torbrowser-from-the-bu#comment98_92

 Applying the attached minimal patch, all command line arguments (except
 TBB's own --debug) were successfully passed to Firefox binary.

 Some commands that worked for me were as follows (Ubuntu 12.04 & TBB
 v3.5):

  * ./start-tor-browser torproject.org[[BR]]''open
 torproject.org''[[BR]][[BR]]
  * ./start-tor-browser !about:tor torproject.org[[BR]]''open !about:tor
 and torproject.org (will open 2 tabs)''[[BR]][[BR]]
  * ./start-tor-browser -search Tor[[BR]]''search for the word "Tor" using
 TBB's default search engine (startpage)''[[BR]][[BR]]
  * ./start-tor-browser --debug torproject.org[[BR]]''run TBB in debug mode
 and open torproject.org''

 Still, no serious thoughts were given about the issues this may bring.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10472>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list