#!/bin/sh

## Copyright (C) 2012 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

## environment variable to set TorBrowser homepage
## https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/13835

## https://forums.whonix.org/t/noscript-with-security-slider-at-safest-permits-around-30-sites/8160
if [ "$TOR_DEFAULT_HOMEPAGE" = "" ]; then
   TOR_DEFAULT_HOMEPAGE="/usr/share/doc/homepage/whonix-welcome-page/whonix.html"
   export TOR_DEFAULT_HOMEPAGE
fi
