Sat, 03 Jan 2015 20:18:00 +0100
Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.
1 @echo off
3 set VIRTUAL_ENV=
5 if defined _OLD_VIRTUAL_PROMPT (
6 set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
7 set _OLD_VIRTUAL_PROMPT=
8 )
10 if defined _OLD_VIRTUAL_PYTHONHOME (
11 set "PYTHONHOME=%_OLD_VIRTUAL_PYTHONHOME%"
12 set _OLD_VIRTUAL_PYTHONHOME=
13 )
15 if defined _OLD_VIRTUAL_PATH (
16 set "PATH=%_OLD_VIRTUAL_PATH%"
17 set _OLD_VIRTUAL_PATH=
18 )
20 :END