toolkit/mozapps/extensions/content/blocklist.xul

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.

michael@0 1 <?xml version="1.0"?>
michael@0 2
michael@0 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 6
michael@0 7 <?xml-stylesheet href="chrome://global/skin/"?>
michael@0 8 <?xml-stylesheet href="chrome://mozapps/skin/extensions/blocklist.css"?>
michael@0 9 <?xml-stylesheet href="chrome://mozapps/content/extensions/blocklist.css"?>
michael@0 10
michael@0 11 <!DOCTYPE dialog [
michael@0 12 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
michael@0 13 %brandDTD;
michael@0 14 <!ENTITY % extensionsDTD SYSTEM "chrome://mozapps/locale/extensions/blocklist.dtd">
michael@0 15 %extensionsDTD;
michael@0 16 ]>
michael@0 17
michael@0 18 <dialog windowtype="Addons:Blocklist" title="&blocklist.title;" align="stretch"
michael@0 19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 20 onload="init();" ondialogaccept="return finish(true)"
michael@0 21 ondialogcancel="return finish(false)"
michael@0 22 buttons="accept,cancel" style="&blocklist.style;"
michael@0 23 buttonlabelaccept="&blocklist.accept.label;"
michael@0 24 buttonaccesskeyaccept="&blocklist.accept.accesskey;">
michael@0 25
michael@0 26 <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
michael@0 27 <script type="application/javascript" src="chrome://mozapps/content/extensions/blocklist.js"/>
michael@0 28
michael@0 29 <hbox align="stretch" flex="1">
michael@0 30 <vbox pack="start">
michael@0 31 <image class="error-icon"/>
michael@0 32 </vbox>
michael@0 33 <vbox flex="1">
michael@0 34 <label>&blocklist.summary;</label>
michael@0 35 <separator class="thin"/>
michael@0 36 <richlistbox id="addonList" flex="1"/>
michael@0 37 <separator class="thin"/>
michael@0 38 <description id="bothMessage" hidden="true" class="bold">&blocklist.softandhard;</description>
michael@0 39 <description id="hardBlockMessage" hidden="true" class="bold">&blocklist.hardblocked;</description>
michael@0 40 <description id="softBlockMessage" hidden="true" class="bold">&blocklist.softblocked;</description>
michael@0 41 <hbox pack="start">
michael@0 42 <label id="moreInfo" class="text-link" value="&blocklist.moreinfo;"/>
michael@0 43 </hbox>
michael@0 44 </vbox>
michael@0 45 </hbox>
michael@0 46 </dialog>

mercurial