runtorbrowser.sh 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. #!/bin/bash
  2. # PUT ME IN the tor browser directory (ie the one with start-tor-browser)
  3. # and chmod 755 runtorbrowser.sh
  4. # see https://tor.stackexchange.com/questions/21752/external-links-do-not-open-on-tor-browser
  5. # https://gitlab.torproject.org/legacy/trac/-/issues/12763
  6. # https://gitlab.torproject.org/legacy/trac/-/issues/29254
  7. # NOTE
  8. # this adds a new kind of risk to your computer - ordinarily, if you have firefox and tor browser installed
  9. # and you do not have tor browser as your default web browser, if someone pops an app / program into your computer that
  10. # can execute firefox, the vanilla firefox will be executed (ie they can't learn about your tor identity)
  11. # but if you *do* have tor browser installed as your default browser, this happens anyway
  12. # 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
  13. # it doesn't open up your risk surface *too* much
  14. # however it DOES increase the risk surface, exposing functionality that is not usually used with tor browser: 'remote' firefox sessions
  15. # ie being able to open up multiple instances of firefox at the same time.
  16. # 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
  17. # 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
  18. FOLDER=$(dirname $0)
  19. #echo $FOLDER
  20. #echo $FOLDER/start-tor-browser --allow-remote $@
  21. #echo sleep...
  22. #sleep 1;
  23. $FOLDER/start-tor-browser --allow-remote $@ &