Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #13791

Closed (moved)
Open
Opened Nov 19, 2014 by Trac@tracbot

Tor Browser Bundle ignores -app argument (GNU/Linux, mine is 64 bit)

Currently command line arguments given to start-tor-browser should be passed to Firefox. However, I ran into problems when trying to use slimerjs (http://slimerjs.org), which can use Firefox to run itself as an "app". Slimerjs is basically a framework for automating Firefox. When I want to use it with Tor, I think it is best to use it with TBB, as TBB has its enhancements needed to good anonymity added to Firefox ESR. Through TBB is a MODIFIED version of Firefox (plus Tor), I feel there must not be any real compatibility issue.

Slimerjs launches itself with this command: "$SLIMERJSLAUNCHER" -app "$SLIMERDIR/application.ini" $PROFILE -no-remote "$@" where "$SLIMERJSLAUNCHER" becomes "start-tor-browser".

In TBB's start-tor-brwser: ./firefox --class "Tor Browser"
-profile TorBrowser/Data/Browser/profile.default "${@}"

Results in: ./firefox --class "Tor Browser"
-profile TorBrowser/Data/Browser/profile.default -app "$SLIMERDIR/application.ini" $PROFILE -no-remote "$@"

And used as: SLIMERJSLAUNCHER=start-tor-browser slimerjs script.js

I suspected duplicated "-profile" might cause problems. But editing around them did not solve any issues.

Slimerjs is a Firefox automation framework, so automating TBB should be straightforward.

Since TBB supports command line arguments, it should be able to be used for running "trusted" XUL applications.

Expected behavior: Runs given javascript with slimerjs, with the same functionality and fingerprints as normal TBB operations.

Actual behavior (TBB 4.0): TBB launches as usual. Nothing related to slimerjs happens.

Trac:
Username: 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#13791