()
| 109 | } |
| 110 | |
| 111 | function idb() { |
| 112 | if ('indexedDB' in window) { |
| 113 | return true |
| 114 | } else if (window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB) { |
| 115 | return true |
| 116 | } else { |
| 117 | return false |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | // necessary for flash to communicate with js... |
| 122 | // please implement a better way |