mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
Make the Auth prompt DOS protection a browser-element opt-in feature.
This commit is contained in:
parent
7b71e22bee
commit
1e6b075d1d
6 changed files with 40 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue