#!/bin/bash -x
FAKEUSER="${1:-fake-chrome-user}"
CHROMEROOT=$HOME/.chromeroot/
mkdir -p ${CHROMEROOT}
export PROFILE="${CHROMEROOT}/${FAKEUSER}-chromium-profile"
export DISK_CACHEDIR="${CHROMEROOT}/${FAKEUSER}-chromium-profile-cache"
export DISK_CACHESIZE=4096
export MEDIA_CACHESIZE=4096
PARANOID_OPTIONS="\
--no-displaying-insecure-content \
--no-referrers \
--disable-zero-suggest \
--disable-sync \
--cipher-suite-blacklist=0x0004,0x0005,0xc011,0xc007 \
--enable-sandbox-logging >/dev/null 2>&1
"
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
--remember-cert-error-decisions \
--ignore-certificate-errors \
--ignore-urlfetcher-cert-requests \
--allow-running-insecure-content \
--window-position=2400,400 \
--window-size=1500,1000 \
--no-pings \
--user-data-dir=${PROFILE} \
--disk-cache-dir=${DISK_CACHEDIR} \
--disk-cache-size=${DISK_CACHESIZE} \
--media-cache-size=${MEDIA_CACHESIZE} \
2>&1
#--proxy-server="socks4://localhost:30604" \
#--host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" \
"C:\Program Files\Google\Chrome\Application\chrome.exe" --chrome-frame --window-size=400,400 --window-position=0,0 --app="https://whatismyipaddress.com/"
"C:\Program Files\Google\Chrome\Application\chrome.exe" --window-size=500,500 --proxy-server="socks5://162.0.220.215:44182" --app="https://whatismyipaddress.com/"
"C:\Program Files\Google\Chrome\Application\chrome.exe" --proxy-server="socks5://162.0.220.215:44182" 2> /dev/null & --app="https://whatismyipaddress.com/"
"C:\Program Files\Google\Chrome\Application\chrome.exe" --app="https://whatismyipaddress.com/"
start chrome https://whatismyipaddress.com/
start chrome https://whatismyipaddress.com/
start chrome https://whatismyipaddress.com/
--proxy-server="socks4://localhost:30604"
C:\Program Files\Google\Chrome\Application\chrome.exe
-----------------------------------
@echo off
timeout /t 1
start chrome https://whatismyipaddress.com/ --chrome-frame --window-size=400,400 --window-position=0,0 --proxy-server="socks5://162.0.220.215:44182"
timeout /t 6
start chrome https://whatismyipaddress.com/
timeout /t 6
start chrome https://whatismyipaddress.com/
timeout /t 6
taskkill /F /IM chrome.exe /T
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
ipconfig /flushdns
------------------------------------------------------------------
@echo off
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 162.0.220.215:44182 /f
timeout /t 1
start chrome https://www.youtube.com/watch?v=3N6bkeSyJHI --chrome-frame --window-size=400,400 --window-position=0,0
timeout /t 4
start chrome https://www.youtube.com/watch?v=em_sALMWjO4 --chrome-frame --window-size=400,400 --window-position=0,0
timeout /t 4
start chrome https://www.youtube.com/watch?v=AgYLGrKI_qA --chrome-frame --window-size=400,400 --window-position=0,0
timeout /t 4
start chrome https://www.youtube.com/watch?v=ztlhWCXRsys
timeout /t 4
start chrome https://www.youtube.com/watch?v=HK_JlO4uJN8
timeout /t 8
timeout /t 5
taskkill /F /IM chrome.exe /T
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
ipconfig /flushdns
-------------------------------------------------------------
@echo off
cls
echo ###############################################################################
echo # #
echo # #### ITSIE Ltd - www.itssie.co.uk - 0845 805 1106 ##### #
echo # #
echo ###############################################################################
echo Choose:
echo [1] I am at work
echo [2] I am at home
:choice
SET /P C=[Please enter a number]?
for %%? in (1) do if /I "%C%"=="%%?" goto 1
for %%? in (2) do if /I "%C%"=="%%?" goto 2
:1
@ECHO OFF
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 162.0.220.215:44182 /f
goto end
:2
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
goto end
:end
------------------------------------------------------------
@echo off
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 162.0.220.215:44182 /f
timeout /t 1
start Chrome-001 https://www.youtube.com/watch?v=3N6bkeSyJHI
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=em_sALMWjO4
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=AgYLGrKI_qA
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=ztlhWCXRsys
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=HK_JlO4uJN8
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=ni8smRynAkE
timeout /t 6
start Chrome-001 https://www.youtube.com/watch?v=PCPrj-6n8-Y
timeout /t 6
taskkill /F /IM chrome.exe /T
------------------------------------------
إرسال تعليق