Files
dandelion/ddln_cli/ddln.sh

33 lines
1011 B
Bash
Executable File

#1/bin/bash
# rm -fr ./profile
# --no-sandbox \
# --no-zygote \
# --single-process \
user_data_dir="${1:-./profile}"
user_id="${2:-b38b623c-c3fa-4351-9cab-50233c99fa4e}"
chromium-browser \
--disable-setuid-sandbox \
--disable-infobars \
--no-first-run \
--hide-scrollbars \
--disable-notifications \
--disable-background-timer-throttling \
--disable-backgrounding-occluded-windows \
--disable-breakpad \
--disable-component-extensions-with-background-pages \
--disable-extensions \
--disable-features=TranslateUI,BlinkGenPropertyTrees \
--disable-ipc-flooding-protection \
--disable-renderer-backgrounding \
--enable-features=NetworkService,NetworkServiceInProcess \
--force-color-profile=srgb \
--metrics-recording-only \
--mute-audio \
--disable-gpu \
--repl --headless \
--user-data-dir=$user_data_dir \
--remote-debugging-port=9332 \
--enable-logging=stderr \
https://ddln.app/connect/$user_id?bootstrap