diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-01 14:01:09 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-01 14:01:09 +0100 |
commit | c1ece93c2be6fb571a013f9735dc629d7279f389 (patch) | |
tree | dd2502a462e73fdc4941dce6925ea31f96ab8fef /application/palemoon/base/content | |
parent | f227feb6efbfa61c62cba88ab85df3c650311560 (diff) | |
download | UXP-c1ece93c2be6fb571a013f9735dc629d7279f389.tar UXP-c1ece93c2be6fb571a013f9735dc629d7279f389.tar.gz UXP-c1ece93c2be6fb571a013f9735dc629d7279f389.tar.lz UXP-c1ece93c2be6fb571a013f9735dc629d7279f389.tar.xz UXP-c1ece93c2be6fb571a013f9735dc629d7279f389.zip |
Make the Auth prompt DOS protection a browser-element opt-in feature.
Diffstat (limited to 'application/palemoon/base/content')
-rw-r--r-- | application/palemoon/base/content/browser.xul | 3 | ||||
-rw-r--r-- | application/palemoon/base/content/tabbrowser.xml | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/application/palemoon/base/content/browser.xul b/application/palemoon/base/content/browser.xul index ce2a7c5a8..ddc305a7b 100644 --- a/application/palemoon/base/content/browser.xul +++ b/application/palemoon/base/content/browser.xul @@ -965,7 +965,8 @@ tabcontainer="tabbrowser-tabs" contentcontextmenu="contentAreaContextMenu" autocompletepopup="PopupAutoComplete" - datetimepicker="DateTimePickerPanel"/> + datetimepicker="DateTimePickerPanel" + authdosprotected="true"/> <chatbar id="pinnedchats" layer="true" mousethrough="always" hidden="true"/> <statuspanel id="statusbar-display" inactive="true"/> </vbox> diff --git a/application/palemoon/base/content/tabbrowser.xml b/application/palemoon/base/content/tabbrowser.xml index c3b4872db..cbe029af0 100644 --- a/application/palemoon/base/content/tabbrowser.xml +++ b/application/palemoon/base/content/tabbrowser.xml @@ -30,7 +30,7 @@ <xul:vbox flex="1" class="browserContainer"> <xul:stack flex="1" class="browserStack" anonid="browserStack"> <xul:browser anonid="initialBrowser" type="content-primary" message="true" disablehistory="true" - xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu,autocompletepopup,datetimepicker"/> + xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu,autocompletepopup,datetimepicker,authdosprotected"/> </xul:stack> </xul:vbox> </xul:hbox> @@ -1588,6 +1588,10 @@ if (this.hasAttribute("datetimepicker")) { b.setAttribute("datetimepicker", this.getAttribute("datetimepicker")); } + + if (this.hasAttribute("authdosprotected")) { + b.setAttribute("authdosprotected", this.getAttribute("authdosprotected")); + } // Create the browserStack container var stack = document.createElementNS(NS_XUL, "stack"); |