Skip to content

Instantly share code, notes, and snippets.

@AlexVallat
Created April 2, 2021 09:29
Show Gist options
  • Save AlexVallat/0f3bdbee31b7b8440266768adf41466e to your computer and use it in GitHub Desktop.
Save AlexVallat/0f3bdbee31b7b8440266768adf41466e to your computer and use it in GitHub Desktop.
Force enable "Accept the Risk and Continue" button for HSTS

HSTS says that the browser must not allow exceptions.

As a user I say that the browser must allow whatever I tell it to allow.

Add this to your userContent.css file to get the button back

meme

@-moz-document url-prefix(about:certerror) {
.badStsCert #exceptionDialogButton {
display: inline-block !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment