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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <head>
6 <style>
7 #el0 {
8 height: 200px ! important;
9 padding: 4px;
10 white-space: pre-wrap;
11 margin-top: 0px;
12 display: table;
13 font-size:.92em
14 }
16 #el0:before {
17 content: counter(c, hiragana-iroha);
18 }
20 #el3 {
21 line-height: 3px;
22 text-shadow: 0px 5px 5px, 0px -20px 10px;
23 display: table-row-group;
24 transform: translate3d(-30px, -300px, 0px);
25 }
27 #el3:before {
28 display: inline-block;
29 }
31 #el5 {
32 height:1em;
33 display:block;
34 }
36 #el5:before {
37 display: list-item;
38 }
40 #el7 {
41 font-size:.92em
42 }
43 .c4 {
44 margin: 1em;
45 padding:0.4em 0.5em 0.4em 2.5em;
46 counter-increment: c;
47 }
49 .c4:after {
50 margin: 2px;
51 display: inline-block;
52 }
53 </style>
54 <script>
55 onload = function() {
56 el7=document.createElement('iframe')
57 el7.setAttribute('id', 'el7')
58 document.body.appendChild(el7)
60 el0=document.createElement('ul')
61 el0.setAttribute('id','el0')
62 document.body.appendChild(el0)
65 el3=document.createElement('q')
66 el3.setAttribute('id','el3')
67 el0.appendChild(el3)
69 el5=document.createElement('q')
70 el5.setAttribute('id','el5')
71 el3.appendChild(el5)
73 el0.appendChild(document.createTextNode('A'))
75 el0.setAttribute('class', 'c4');
76 el7.setAttribute('class', 'c4');
77 }
78 </script>
79 </head>
80 <body>
81 </body>
82 </html>