runtorbrowser.sh 1.7 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #!/bin/bash
  2. # solution originally by staxyz at tor.stackexchange.com how do we do copyright on this?
  3. # it should be fair dealing either way.
  4. # PUT ME IN the tor browser directory (ie the one with start-tor-browser)
  5. # and chmod 755 runtorbrowser.sh
  6. # see https://tor.stackexchange.com/questions/21752/external-links-do-not-open-on-tor-browser
  7. # https://gitlab.torproject.org/legacy/trac/-/issues/12763
  8. # https://gitlab.torproject.org/legacy/trac/-/issues/29254
  9. # NOTE
  10. # this adds a new kind of risk to your computer - ordinarily, if you have firefox and tor browser installed
  11. # and you do not have tor browser as your default web browser, if someone pops an app / program into your computer that
  12. # can execute firefox, the vanilla firefox will be executed (ie they can't learn about your tor identity)
  13. # but if you *do* have tor browser installed as your default browser, this happens anyway
  14. # basically if you just use tor browser as a casual user, don't use this script - but if you use it all the time, anyway by default
  15. # it doesn't open up your risk surface *too* much
  16. # however it DOES increase the risk surface, exposing functionality that is not usually used with tor browser: 'remote' firefox sessions
  17. # ie being able to open up multiple instances of firefox at the same time.
  18. # of course in the modern day we call those "tabs" - many users use more than one tab at a time but if you're one of those weirdos
  19. # who does not use more than one tab at once typically, then perhaps you shouldn't use this script either or do your own vetting for it
  20. FOLDER=$(dirname $0)
  21. #echo $FOLDER
  22. #echo $FOLDER/start-tor-browser --allow-remote $@
  23. #echo sleep...
  24. #sleep 1;
  25. $FOLDER/start-tor-browser --allow-remote $@ &