a
This commit is contained in:
@@ -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}
|
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()) {
|
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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user