Opened 5 years ago

Last modified 23 months ago

#13791 new defect

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

Reported by: 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5 Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: TorBrowser bundle XUL slimerjs
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Attachments (3)

slimerjs (7.3 KB) - added by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5 5 years ago.
Wrapper script for slimerjs.
application.ini (192 bytes) - added by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5 5 years ago.
omni.ja (385.3 KB) - added by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5 5 years ago.
(maybe) the main program package of slimerjs

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5

Attachment: slimerjs added

Wrapper script for slimerjs.

Changed 5 years ago by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5

Attachment: application.ini added

Changed 5 years ago by 0a0c4927a2b9896cf3bed2389224bbe13e9a76b5

Attachment: omni.ja added

(maybe) the main program package of slimerjs

comment:1 Changed 23 months ago by teor

Severity: Normal

Set all open tickets without a severity to "Normal"

Note: See TracTickets for help on using tickets.