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="PermissionsDialog"
class="windowDialog"
scrolling="false"
>
<head>
<title data-l10n-id="permissions-dialog-title"></title>
<link rel="localization" href="messenger/preferences/permissions.ftl" />
<script
defer="defer"
></script>
<script
defer="defer"
></script>
<script
defer="defer"
></script>
</head>
<html:body
>
<vbox class="contentPane largeDialogContainer" flex="1">
<description id="permissionsText" control="url" />
<separator class="thin" />
<label id="urlLabel" control="url" data-l10n-id="website-address-label" />
<hbox align="start" class="input-container">
<html:input
id="url"
type="text"
oninput="gPermissionManager.onHostInput(event.target);"
onkeypress="gPermissionManager.onHostKeyPress(event);"
/>
</hbox>
<hbox pack="end">
<button
id="btnBlock"
disabled="true"
data-l10n-id="block-button"
oncommand="gPermissionManager.addPermission(Ci.nsIPermissionManager.DENY_ACTION);"
/>
<button
id="btnSession"
disabled="true"
data-l10n-id="allow-session-button"
oncommand="gPermissionManager.addPermission(Ci.nsICookiePermission.ACCESS_SESSION);"
/>
<button
id="btnAllow"
disabled="true"
data-l10n-id="allow-button"
default="true"
oncommand="gPermissionManager.addPermission(Ci.nsIPermissionManager.ALLOW_ACTION);"
/>
</hbox>
<separator class="thin" />
<tree
id="permissionsTree"
hidecolumnpicker="true"
onkeypress="gPermissionManager.onPermissionKeyPress(event)"
onselect="gPermissionManager.onPermissionSelected();"
>
<treecols>
<treecol
id="siteCol"
data-l10n-id="treehead-sitename-label"
data-field-name="rawHost"
persist="width"
/>
<splitter class="tree-splitter" />
<treecol
id="statusCol"
data-l10n-id="treehead-status-label"
data-field-name="capability"
persist="width"
/>
</treecols>
<treechildren />
</tree>
<hbox class="actionButtons">
<button
id="removePermission"
disabled="true"
data-l10n-id="remove-site-button"
oncommand="gPermissionManager.onPermissionDeleted();"
/>
<button
id="removeAllPermissions"
data-l10n-id="remove-all-site-button"
oncommand="gPermissionManager.onAllPermissionsDeleted();"
/>
</hbox>
<hbox class="actionButtons" pack="end">
<button
id="closeButton"
oncommand="window.close();"
data-l10n-id="cancel-button"
/>
<button
id="btnApplyChanges"
oncommand="gPermissionManager.onApplyChanges();"
data-l10n-id="save-button"
/>
</hbox>
</vbox>
</html:body>
</html>