diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js index dc7dc1d68dd0b37c874140e611f1e22e75502450..d97c9bfbc6ec25bf9098da0f9e813f37f6009838 100644 --- a/resources/static/include_js/include.js +++ b/resources/static/include_js/include.js @@ -879,8 +879,14 @@ } } + function checkJSON() { + if(!(window.JSON && window.JSON.stringify && window.JSON.parse)) { + return "JSON"; + } + } + function isSupported() { - reason = checkLocalStorage() || checkPostMessage() || explicitNosupport(); + reason = checkLocalStorage() || checkPostMessage() || checkJSON() || explicitNosupport(); return !reason; }