1 2 3 4 5 6 7 8 9 10 11 12 13
<html> <head><title>None</title><script> function checkDatabase() { var db = null; if ('openDatabase' in window) { db = window.openDatabase('test', '1.0', 'results', 1*1024*1024); } document.title = db ? "Has database" : "No database"; } </script></head> <body onload='checkDatabase()'> </body> </html>