0
我試圖用openDatabase
與谷歌的Chrome瀏覽器應用程序,但會顯示以下錯誤:未捕獲的ReferenceError:的openDatabase沒有定義
Uncaught ReferenceError: openDatabase is not defined
我還添加了權限的manifest.json(unlimitedStorage
)。
我試圖用openDatabase
與谷歌的Chrome瀏覽器應用程序,但會顯示以下錯誤:未捕獲的ReferenceError:的openDatabase沒有定義
Uncaught ReferenceError: openDatabase is not defined
我還添加了權限的manifest.json(unlimitedStorage
)。
對於Chrome應用程序,WebSQL處於禁用狀態,您可以在documentation中看到。
如果你想持續保存數據,使用chrome.storage
API,IndexedDB
或chrome.fileSystem
API(不要與HTML5 Filesystem API混淆!)。