addon-sdk/source/examples/annotator/data/editor/annotation-editor.html

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

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 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     2    - License, v. 2.0. If a copy of the MPL was not distributed with this
     3    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     5 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     6 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     9 <head>
    10   <title>Annotation</title>
    11   <style type="text/css" media="all">
    12   body, html {
    13     font: 100% arial, helvetica, sans-serif;
    14     padding: 0;
    15     margin: 0;
    16     position: fixed;
    17   }
    18   textarea {
    19     width: 100%;
    20     height: 100%;
    21     margin: 10px;
    22     padding: 0;
    23     color: inherit !important;
    24     font: inherit !important;
    25     background: transparent;
    26     border: none;
    27   }
    28   </style>
    30 </head>
    32 <body>
    34 <textarea rows='10' cols='20' id='annotation-box'>
    35 </textarea>
    37 </body>
    39 </html>

mercurial