mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 22:27:31 +09:00
remove "learnMoreContainer" leftovers
This commit is contained in:
parent
bb95fcfca5
commit
91849f7205
2 changed files with 0 additions and 20 deletions
|
|
@ -212,9 +212,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err == "sslv3Used") {
|
if (err == "sslv3Used") {
|
||||||
document.getElementById("learnMoreContainer").style.display = "block";
|
|
||||||
var learnMoreLink = document.getElementById("learnMoreLink");
|
|
||||||
learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-sslv3-error-messages-firefox";
|
|
||||||
document.body.className = "certerror";
|
document.body.className = "certerror";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -258,17 +255,6 @@
|
||||||
window.addEventListener("AboutNetErrorOptions", function(evt) {
|
window.addEventListener("AboutNetErrorOptions", function(evt) {
|
||||||
// Pinning errors are of type nssFailure2
|
// Pinning errors are of type nssFailure2
|
||||||
if (getErrorCode() == "nssFailure2" || getErrorCode() == "weakCryptoUsed") {
|
if (getErrorCode() == "nssFailure2" || getErrorCode() == "weakCryptoUsed") {
|
||||||
document.getElementById("learnMoreContainer").style.display = "block";
|
|
||||||
var learnMoreLink = document.getElementById("learnMoreLink");
|
|
||||||
// nssFailure2 also gets us other non-overrideable errors. Choose
|
|
||||||
// a "learn more" link based on description:
|
|
||||||
if (getDescription().includes("mozilla_pkix_error_key_pinning_failure")) {
|
|
||||||
learnMoreLink.href = "https://support.mozilla.org/kb/certificate-pinning-reports";
|
|
||||||
}
|
|
||||||
if (getErrorCode() == "weakCryptoUsed") {
|
|
||||||
learnMoreLink.href = "https://support.mozilla.org/kb/how-resolve-weak-crypto-error-messages-firefox";
|
|
||||||
}
|
|
||||||
|
|
||||||
const hasPrefStyleError = [
|
const hasPrefStyleError = [
|
||||||
"interrupted", // This happens with subresources that are above the max tls
|
"interrupted", // This happens with subresources that are above the max tls
|
||||||
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
|
"SSL_ERROR_PROTOCOL_VERSION_ALERT",
|
||||||
|
|
@ -336,8 +322,6 @@
|
||||||
addAutofocus("returnButton");
|
addAutofocus("returnButton");
|
||||||
setupAdvancedButton(true);
|
setupAdvancedButton(true);
|
||||||
|
|
||||||
document.getElementById("learnMoreContainer").style.display = "block";
|
|
||||||
|
|
||||||
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
|
let event = new CustomEvent("AboutNetErrorLoad", {bubbles:true});
|
||||||
document.getElementById("advancedButton").dispatchEvent(event);
|
document.getElementById("advancedButton").dispatchEvent(event);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,10 +39,6 @@ button:disabled {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#learnMoreContainer {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#certErrorAndCaptivePortalButtonContainer {
|
#certErrorAndCaptivePortalButtonContainer {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue