Last active
September 26, 2022 15:58
-
-
Save Blueblazer172/0d9db7a593280f469e4f0c822a8d2072 to your computer and use it in GitHub Desktop.
Workaround js fix for chrome certificate export: https://stackoverflow.com/a/55528697/5930557
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var element = document.createElement('a'); element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(document.getElementsByClassName('debugging-content')[9].innerText));element.setAttribute('download', location.host.replace(/[^\dA-Za-z]/g, '-') + '.crt');document.body.appendChild(element);element.click();document.body.removeChild(element); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment