tor-browsh-config.toml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # See; https://www.brow.sh/donate/
  2. # By showing your support you can disable the app's branding and nags to donate.
  3. browsh_supporter = "♥"
  4. # The page to show at startup. Browsh will fail to boot if this URL is not accessible
  5. startup-url = "http://www.brow.sh"
  6. # The base query when a non-URL is entered into the URL bar
  7. default_search_engine_base = "https://www.google.com/search?q="
  8. # The mobile user agent for forcing web pages to use their mobile layout
  9. mobile_user_agent = "Mozilla/5.0 (Android 7.0; Mobile; rv:54.0) Gecko/58.0 Firefox/58.0"
  10. [browsh] # Browsh internals
  11. websocket-port = 3334
  12. use_experimental_text_visibility = false
  13. custom_css = """
  14. .toast-content,
  15. .toast-text {
  16. display: none;
  17. }
  18. """
  19. [firefox]
  20. # The path to your Firefox binary
  21. path = "firefox"
  22. # Browsh has its own profile, seperate from the normal user's. But you can change that.
  23. profile = "browsh-default"
  24. # Don't let Browsh launch Firefox, but make it try to connect to an existing one. Note
  25. # it will need to have been launched with the '--marionette' flag.
  26. use-existing = false
  27. # Launch Firefox in with its visible GUI window. Useful for setting up the Browsh profile.
  28. with-gui = false
  29. preferences = [
  30. "privacy.resistFingerprinting=true",
  31. "network.proxy.http='tor-rotating-ips'",
  32. "network.proxy.ssl='tor-rotating-ips'",
  33. "network.proxy.http_port=8118",
  34. "network.proxy.ssl_port=8118",
  35. "network.proxy.type=1"
  36. ]
  37. [tty]
  38. # The time in milliseconds between requesting a new TTY-sized pixel frame.
  39. # This is essentially the frame rate for graphics. Lower values make for smoother
  40. # animations and feedback, but also increases the CPU load.
  41. small_pixel_frame_rate = 250
  42. [http-server]
  43. port = 4334
  44. bind = "0.0.0.0"
  45. # The time to wait in milliseconds after the DOM is ready before
  46. # trying to parse and render the page's text. Too soon and text risks not being
  47. # parsed, too long and you wait unecessarily.
  48. render_delay = 5000
  49. timeout = 90
  50. # The dimensions of a char-based window onto a webpage.
  51. # The columns are ultimately the width of the final text. Whereas the rows
  52. # represent the height of the original web page made visible to the original
  53. # browser window. So the number of rows can effect things like how far down a
  54. # web page images are lazy-loaded.
  55. columns = 100
  56. rows = 30
  57. # The amount of lossy JPG compression to apply to the background image of HTML
  58. # pages.
  59. jpeg_compression = 0.9
  60. # Rate limit. For syntax, see: https://github.com/ulule/limiter
  61. rate-limit = "100000000-M"
  62. # Blocking is useful if the HTTP server is made public. All values are evaluated as
  63. # regular expressions.
  64. blocked-domains = [
  65. "[mail|accounts].google.com"
  66. ]
  67. blocked-user-agents = [
  68. ]
  69. # HTML snippets to show at top and bottom of final page.
  70. header = ""
  71. footer = ""