我想为WebWorks打包并启动我的BlackBerry Hello World应用程序。对于开发,我使用的是Ripple仿真器。Ripple模拟器说:
The build and deploy services are not currently running, would you like to start them?
按下启动服务按钮后,没有发生任何事情,错误console.and中也没有错误,我还执行了以下步骤,因为我已经搜索并获得了以下结果:
有两个原因可能会发生这种情况。首先,Chrome阻止了这种情况的发生。
Open the Tools --> Extensions s
我在扩展中使用chrome.storage.sync来同步popup.html中textarea中输入的数据。
它在本地正确地存储和恢复数据,但它不同步跨浏览器的数据。
每个浏览器扩展都有自己的本地输入数据可用。
以下代码用于保存和恢复数据:
// Called when the user opens popup.html
$(window).ready(
function restore() {
var textarea = document.querySelector("#contacts");
chrome.storage.sync