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 <!DOCTYPE HTML>
2 <html lang="en-US">
3 <head>
4 <title>:visited and ::first-line</title>
5 <style type="text/css">
7 :link, :visited { display: block; text-decoration: none; }
9 :link { color: blue }
10 :link::first-line { color: fuchsia; }
11 :visited { color: purple }
12 :visited::first-line { color: maroon; }
14 </style>
15 </head>
16 <body>
18 <a href="unvisited-page.html">unvisited<br>link</a>
19 <a href="visited-page.html">visited<br>link</a>
21 </body>
22 </html>