Loading toolkit/components/httpsonlyerror/content/errorpage.html +1 −0 Original line number Original line Diff line number Diff line Loading @@ -67,6 +67,7 @@ <button <button id="openInsecure" id="openInsecure" data-l10n-id="about-httpsonly-button-continue-to-site" data-l10n-id="about-httpsonly-button-continue-to-site" inert ></button> ></button> </div> </div> <div class="suggestion-box" hidden> <div class="suggestion-box" hidden> Loading toolkit/components/httpsonlyerror/content/errorpage.js +5 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,11 @@ function initPage() { .getElementById("openInsecure") .getElementById("openInsecure") .addEventListener("click", onOpenInsecureButtonClick); .addEventListener("click", onOpenInsecureButtonClick); const delay = RPMGetIntPref("security.dialog_enable_delay", 1000); setTimeout(() => { document.getElementById("openInsecure").removeAttribute("inert"); }, delay); if (window.top == window) { if (window.top == window) { document document .getElementById("goBack") .getElementById("goBack") Loading toolkit/modules/RemotePageAccessManager.sys.mjs +1 −0 Original line number Original line Diff line number Diff line Loading @@ -66,6 +66,7 @@ export let RemotePageAccessManager = { }, }, "about:httpsonlyerror": { "about:httpsonlyerror": { RPMGetFormatURLPref: ["app.support.baseURL"], RPMGetFormatURLPref: ["app.support.baseURL"], RPMGetIntPref: ["security.dialog_enable_delay"], RPMSendAsyncMessage: ["goBack", "openInsecure"], RPMSendAsyncMessage: ["goBack", "openInsecure"], RPMAddMessageListener: ["WWWReachable"], RPMAddMessageListener: ["WWWReachable"], RPMTryPingSecureWWWLink: ["*"], RPMTryPingSecureWWWLink: ["*"], Loading Loading
toolkit/components/httpsonlyerror/content/errorpage.html +1 −0 Original line number Original line Diff line number Diff line Loading @@ -67,6 +67,7 @@ <button <button id="openInsecure" id="openInsecure" data-l10n-id="about-httpsonly-button-continue-to-site" data-l10n-id="about-httpsonly-button-continue-to-site" inert ></button> ></button> </div> </div> <div class="suggestion-box" hidden> <div class="suggestion-box" hidden> Loading
toolkit/components/httpsonlyerror/content/errorpage.js +5 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,11 @@ function initPage() { .getElementById("openInsecure") .getElementById("openInsecure") .addEventListener("click", onOpenInsecureButtonClick); .addEventListener("click", onOpenInsecureButtonClick); const delay = RPMGetIntPref("security.dialog_enable_delay", 1000); setTimeout(() => { document.getElementById("openInsecure").removeAttribute("inert"); }, delay); if (window.top == window) { if (window.top == window) { document document .getElementById("goBack") .getElementById("goBack") Loading
toolkit/modules/RemotePageAccessManager.sys.mjs +1 −0 Original line number Original line Diff line number Diff line Loading @@ -66,6 +66,7 @@ export let RemotePageAccessManager = { }, }, "about:httpsonlyerror": { "about:httpsonlyerror": { RPMGetFormatURLPref: ["app.support.baseURL"], RPMGetFormatURLPref: ["app.support.baseURL"], RPMGetIntPref: ["security.dialog_enable_delay"], RPMSendAsyncMessage: ["goBack", "openInsecure"], RPMSendAsyncMessage: ["goBack", "openInsecure"], RPMAddMessageListener: ["WWWReachable"], RPMAddMessageListener: ["WWWReachable"], RPMTryPingSecureWWWLink: ["*"], RPMTryPingSecureWWWLink: ["*"], Loading