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 <html>
2 <body onhashchange='hashchange()' onload='load()' onpopstate='popstate()'>
4 <script>
5 function hashchange() {
6 var f = (opener || parent).childHashchange;
7 if (f)
8 f();
9 }
11 function load() {
12 var f = (opener || parent).childLoad;
13 if (f)
14 f();
15 }
17 function popstate() {
18 var f = (opener || parent).childPopstate;
19 if (f)
20 f();
21 }
22 </script>
24 Not much to see here...
25 </body>
26 </html>