Skip to content

Instantly share code, notes, and snippets.

@fearphage
Created September 11, 2009 07:45
Show Gist options
  • Select an option

  • Save fearphage/185149 to your computer and use it in GitHub Desktop.

Select an option

Save fearphage/185149 to your computer and use it in GitHub Desktop.
Opera Preferences version 2.1
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[User prefs]
Title=Opera Private mode
Opera Directory=C:\DOCUME~1\FRED~1.LAN\LOCALS~1\Temp\delete-me.1367
Opera Local Directory=C:\DOCUME~1\FRED~1.LAN\LOCALS~1\Temp\delete-me.1367
Show Default Browser Dialog=0
Enable Usage Statistics=0
Speed Dial State=3
Enable Cookies=0
Startup Type=6
Home URL=opera:blank
Enable DDE=0
Preferences Version=2
Address Search Drop Down Width=319
Google TLD Default=.google.co.uk
Google TLD Downloaded=1
Browser JavaScript=2
[State]
Accept Licence=1
Run=1
[Extensions]
Plugin Failed Warning=1
[VoiceXML]
VoiceXML Enabled=0
[Security Prefs]
Enable SSL v3=1
Enable TLS v1.0=1
Enable TLS v1.1=1
Enable TLS v1.2=1
[Install]
Newest Used Version=10.10.1810
[HotListWindow]
ActiveTab=0
[Auto Update]
Time Of Last Upgrade Check=1254902877
Delayed Update Check Interval=0
Update Check Interval=259200
Browser JS Time=1254848778
Spoof Time=1253881842
Dictionary Time=1251450552
Throttle Level=0
Auto Update State=0
[Windows]
Browser Window=100,100,700,500,2
[Proxy]
Web Turbo Config File={Resources}locale\en\turbosettings.xml
@echo off
set operadir=%TEMP%\delete-me.%RANDOM%
call :CLEANUP %operadir%&GOTO :FIN
:CLEANUP
for /d %%a in (%~dspn1.*) do (rmdir /s /q "%%a" 2> NUL)
:ACTION
mkdir %operadir%
set operaini=%operadir%\operaprefs.ini
echo [User prefs] > %operaini%
echo Title=Opera Private mode >> %operaini%
echo Opera Directory=%operadir% >> %operaini%
echo Opera Local Directory=%operadir% >> %operaini%
echo Show Default Browser Dialog=0 >> %operaini%
echo Enable Usage Statistics=0 >> %operaini%
echo Speed Dial State=6 >> %operaini%
echo Enable Cookies=1 >> %operaini%
echo Startup Type=2 >> %operaini%
echo Home URL=opera:blank >> %operaini%
REM Comment out the next line if you want 3rd party links to open in the private version of opera
echo Enable DDE=0 >> %operaini%
echo [State] >> %operaini%
echo Accept Licence=1 >> %operaini%
echo Run=1 >> %operaini%
set operaexe=%PROGRAMFILES%\Opera\opera.exe
REM 64-bit check
if not "%PROGRAMFILES(X86)%X" == "X" set operaexe=%PROGRAMFILES(X86)%\Opera\opera.exe
call :RUNTIME "%operaexe%" %operaini%&goto :EOF
:RUNTIME
start /max /D %~dsp1 /B %~dspnx1 /Settings %~dspnx2 opera:blank
:FIN
set operadir=
set operaini=
set operaexe=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment