Revision control
Copy as Markdown
Other Tools
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
<!DOCTYPE html>
<html
  id="CookiesDialog"
  class="windowDialog"
  scrolling="false"
>
  <head>
    <title data-l10n-id="cookies-dialog-title"></title>
    <meta
      http-equiv="Content-Security-Policy"
      content="default-src chrome:; script-src chrome: 'unsafe-inline' moz-src:"
    />
    <link
      rel="stylesheet"
    />
    <link rel="localization" href="messenger/preferences/cookies.ftl" />
    <script
      defer="defer"
    ></script>
    <script
      defer="defer"
    ></script>
    <script
      defer="defer"
    ></script>
  </head>
  <html:body
  >
    <stringbundle
      id="bundlePreferences"
    />
    <keyset>
      <key keycode="VK_ESCAPE" oncommand="window.close();" />
      <key
        data-l10n-id="window-focus-search-key"
        data-l10n-attrs="key"
        modifiers="accel"
        oncommand="gCookiesWindow.focusFilterBox();"
      />
      <key
        data-l10n-id="window-focus-search-alt-key"
        data-l10n-attrs="key"
        modifiers="accel"
        oncommand="gCookiesWindow.focusFilterBox();"
      />
    </keyset>
    <vbox flex="1" class="contentPane largeDialogContainer">
      <hbox align="center">
        <label data-l10n-id="filter-search-label" control="filter" />
        <html:input
          type="search"
          id="filter"
          aria-controls="cookiesList"
          oninput="gCookiesWindow.filter();"
        />
      </hbox>
      <separator class="thin" />
      <label
        control="cookiesList"
        id="cookiesIntro"
        data-l10n-id="cookies-on-system-label"
      />
      <separator class="thin" />
      <tree
        id="cookiesList"
        onkeypress="gCookiesWindow.onCookieKeyPress(event)"
        onselect="gCookiesWindow.onCookieSelected();"
        hidecolumnpicker="true"
        seltype="single"
      >
        <treecols>
          <treecol
            id="domainCol"
            data-l10n-id="treecol-site-header"
            primary="true"
            persist="width"
            onclick="gCookiesWindow.sort('rawHost');"
          />
          <splitter class="tree-splitter" />
          <treecol
            id="nameCol"
            data-l10n-id="treecol-name-header"
            persist="width"
            onclick="gCookiesWindow.sort('name');"
          />
        </treecols>
        <treechildren id="cookiesChildren" />
      </tree>
      <html:table id="cookieInfoSettings">
        <html:tr>
          <html:th>
            <label
              id="nameLabel"
              control="name"
              data-l10n-id="props-name-label"
            />
          </html:th>
          <html:td>
            <html:input id="name" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr>
          <html:th>
            <label
              id="valueLabel"
              control="value"
              data-l10n-id="props-value-label"
            />
          </html:th>
          <html:td>
            <html:input id="value" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr>
          <html:th>
            <label
              id="isDomain"
              control="host"
              data-l10n-id="props-domain-label"
            />
          </html:th>
          <html:td>
            <html:input id="host" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr>
          <html:th>
            <label
              id="pathLabel"
              control="path"
              data-l10n-id="props-path-label"
            />
          </html:th>
          <html:td>
            <html:input id="path" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr>
          <html:th>
            <label
              id="isSecureLabel"
              control="isSecure"
              data-l10n-id="props-secure-label"
            />
          </html:th>
          <html:td>
            <html:input id="isSecure" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr>
          <html:th>
            <label
              id="expiresLabel"
              control="expires"
              data-l10n-id="props-expires-label"
            />
          </html:th>
          <html:td>
            <html:input id="expires" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
        <html:tr id="userContextLabel">
          <html:th>
            <label control="userContext" data-l10n-id="props-container-label" />
          </html:th>
          <html:td>
            <html:input id="userContext" type="text" readonly="readonly" />
          </html:td>
        </html:tr>
      </html:table>
      <hbox align="end">
        <hbox class="actionButtons" flex="1">
          <button
            id="removeSelectedCookies"
            disabled="true"
            data-l10n-id="remove-cookie-button"
            oncommand="gCookiesWindow.deleteCookie();"
          />
          <button
            id="removeAllCookies"
            disabled="true"
            data-l10n-id="remove-all-cookies-button"
            oncommand="gCookiesWindow.deleteAllCookies();"
          />
          <spacer flex="1" />
          <button
            id="closeButton"
            oncommand="window.close();"
            data-l10n-id="cookie-close-button"
          />
        </hbox>
      </hbox>
    </vbox>
  </html:body>
</html>