Skip to content

Instantly share code, notes, and snippets.

@MiteshShah
Created October 25, 2023 09:28
Show Gist options
  • Save MiteshShah/444684ace368d63b28a64d3bbe7d44f1 to your computer and use it in GitHub Desktop.
Save MiteshShah/444684ace368d63b28a64d3bbe7d44f1 to your computer and use it in GitHub Desktop.
chrome-chip.bat
:: Chrome Chip
set "CHROME_PATH=C:\Program Files\Google\Chrome\Application\chrome.exe"
set "DATA_DIR=%TEMP%\chrome_data_dir-%RANDOM%"
"%CHROME_PATH%" --disable-sync --no-default-browser-check --no-first-run --user-data-dir="%DATA_DIR%" --install-autogenerated-theme="150,220,150" --partitioned-cookies=true https://example.com >nul 2>&1
rmdir /s /q "%DATA_DIR%" >nul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment