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 <head>
3 <style type="text/css">
4 input {
5 color: white;
6 background-color: green;
7 }
8 input::-moz-selection {
9 color: red;
10 background-color: blue;
11 }
12 </style>
13 </head>
14 <body onload="document.getElementById('i').select();">
15 <input value="text" id="i">
16 </body>
17 </html>