2015-05-05 15:21:45 +00:00
|
|
|
healthCheck();
|
|
|
|
|
|
|
|
function healthCheck() {
|
|
|
|
chrome.extension.sendMessage({method: "healthCheck"}, function(ok) {
|
|
|
|
if (ok === undefined) { // Chrome is starting up
|
|
|
|
healthCheck();
|
|
|
|
} else if (!ok && confirm(t("dbError"))) {
|
2013-06-26 04:25:04 +00:00
|
|
|
window.open("http://userstyles.org/dberror");
|
|
|
|
}
|
2015-05-05 15:21:45 +00:00
|
|
|
});
|
|
|
|
}
|