This commit is contained in:
unknown
2018-11-14 16:36:35 +00:00
parent 85a783f7ee
commit 0793f3e1e2
3 changed files with 101 additions and 0 deletions

4
prngCheck.js Normal file
View File

@@ -0,0 +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");
}