This commit is contained in:
unknown
2018-11-14 16:37:46 +00:00
parent a9f870c263
commit f68e90e6b2

View File

@@ -1,4 +1,4 @@
function isGoodPrngAvailable(){return!("undefined"==typeof window||!window.crypto||!window.crypto.getRandomValues)||"undefined"!=typeof window&&"object"==typeof window.msCrypto&&"function"==typeof window.msCrypto.getRandomValues}
if (!isGoodPrngAvailable()) {
(alert("A browser that has a Pseudo Random Number Generator is required to use ProtonMail. Please update your browser."),window.location="https://protonmail.com/compatibility");
(alert("A browser that has a Pseudo Random Number Generator is required to use browserPGP. Please update your browser."),window.location="https://browserpgp.github.io/compatibility.html");
}