about:preferences#advanced -> Certificates -> ViewCert
In Firefox, I can add my own self-sign cert to browser. However, in latest TBB(6.0+) I can't add certificate.
This is annoying because I have to make a exception every time to connect to HTTPS.
Is there any method to add certificate to TBB?
<img src="https://example.com/image.jpeg" onload="alert(1)" onerror="alert(0)" />if example.com has an invalid certificate and you've set a certificate error exception for example.com, it will pop up an alert box with 1, if you haven't you'll get an alert box with 0. I can embed this into my website, and when you visit it I can tell if you've set an exception or not by changing the payload from an alert to something else, this is just one of the many ways that you could measure this difference in behaviour. – cacahuatl Jul 21 '16 at 20:28