{"_id":"57b557f0d3092517007cfac8","user":"54523f0604160008005b1cc0","githubsync":"","category":{"_id":"57b557f0d3092517007cfac4","project":"54523fec04160008005b1cc8","__v":0,"version":"57b557f0d3092517007cfac3","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-13T07:05:09.147Z","from_sync":false,"order":0,"slug":"rollmyfile-javascript-api","title":"rollMyFile JavaScript API"},"version":{"_id":"57b557f0d3092517007cfac3","project":"54523fec04160008005b1cc8","__v":2,"createdAt":"2016-08-18T06:38:40.018Z","releaseDate":"2016-08-18T06:38:40.018Z","categories":["57b557f0d3092517007cfac4","57b557f0d3092517007cfac5","59c4d73c5237e3003c4532c3"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"__v":0,"project":"54523fec04160008005b1cc8","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-13T08:19:28.998Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"never","params":[],"url":""},"isReference":false,"order":2,"body":"Returns `true` if file can be open online in current browser.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"if (!rollMyFile.isBrowserSupported()) {\\n  // disable \\\"open online\\\" button(s)\\n}\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"rollmyfile-js-isbrowsersupported","type":"fn","title":"isBrowserSupported()"}

isBrowserSupported()


Returns `true` if file can be open online in current browser. [block:code] { "codes": [ { "code": "if (!rollMyFile.isBrowserSupported()) {\n // disable \"open online\" button(s)\n}", "language": "javascript" } ] } [/block]