{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"never","try":true,"basic_auth":false,"params":[],"results":{"codes":[]}},"next":{"description":"","pages":[]},"title":"isBrowserSupported()","type":"fn","slug":"rollmyfile-js-isbrowsersupported","excerpt":"","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]","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"54646990f42a472000b0c4b2","is_link":false,"version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":true,"categories":["54523fec04160008005b1ccc","546458255871e90800f5014e","56117ff28c76a61900fd06d5"],"_id":"54523fec04160008005b1ccb","createdAt":"2014-10-30T13:41:00.515Z","project":"54523fec04160008005b1cc8","releaseDate":"2014-10-30T13:41:00.515Z","__v":3},"createdAt":"2014-11-13T08:19:28.998Z","project":"54523fec04160008005b1cc8","user":"54523f0604160008005b1cc0","__v":2,"category":{"sync":{"isSync":false,"url":""},"pages":["546467902c77331a00252bb8","54646990f42a472000b0c4b2","546469adf42a472000b0c4b4","546469f0f42a472000b0c4b7","546a2a51a3b67a0e00559c18"],"title":"rollMyFile JavaScript API","slug":"rollmyfile-javascript-api","order":0,"from_sync":false,"reference":false,"_id":"546458255871e90800f5014e","__v":5,"version":"54523fec04160008005b1ccb","createdAt":"2014-11-13T07:05:09.147Z","project":"54523fec04160008005b1cc8"},"githubsync":""}

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]