6 changed files with 88 additions and 38505 deletions
File diff suppressed because one or more lines are too long
@ -1 +1,27 @@ |
|||||||
<!doctype html><html lang=en ng-app=myApp manifest=app.manifest><head><meta charset=utf-8><meta name=viewport content="width=device-width, user-scalable=no"><title>Webogram</title><link rel=stylesheet href=css/app.css><link rel=icon href=favicon.ico type=image/x-icon><meta property=og:title content=Webogram><meta property=og:url content="http://zhukov.github.io/webogram/"><meta property=og:image content=http://zhukov.github.io/webogram/img/logo_share.png><meta property=og:site_name content=Webogram><meta property=og:description content="Welcome to an experimental web-client of Telegram messenger. See https://github.com/zhukov/webogram for more info."></head><body><div ng-view=""></div><script src=js/app-2c7788ba.js></script></body></html> |
<!doctype html><html lang=en ng-app=myApp manifest=app.manifest><head><meta charset=utf-8><meta name=viewport content="width=device-width, user-scalable=no"><title>Webogram</title><link rel=stylesheet href=css/app.css><link rel=icon href=favicon.ico type=image/x-icon><meta property=og:title content=Webogram><meta property=og:url content="http://zhukov.github.io/webogram/"><meta property=og:image content=http://zhukov.github.io/webogram/img/logo_share.png><meta property=og:site_name content=Webogram><meta property=og:description content="Welcome to an experimental web-client of Telegram messenger. See https://github.com/zhukov/webogram for more info."></head><body><div ng-view=""></div><script src=js/app-29e2169d.js></script><script type=text/javascript>(function () { |
||||||
|
if (!window.applicationCache || !window.addEventListener) { |
||||||
|
return; |
||||||
|
} |
||||||
|
var appCache = window.applicationCache, |
||||||
|
canceled = false, |
||||||
|
scheduleUpdate = function () { |
||||||
|
setTimeout(function () { |
||||||
|
appCache.update(); |
||||||
|
}, 300000); |
||||||
|
}; |
||||||
|
|
||||||
|
window.addEventListener('load', function(e) { |
||||||
|
appCache.addEventListener('updateready', function(e) { |
||||||
|
if (appCache.status == appCache.UPDATEREADY) { |
||||||
|
if (!canceled && confirm('A new version of Webogram is available. Load it?')) { |
||||||
|
window.location.reload(); |
||||||
|
} else { |
||||||
|
canceled = true; |
||||||
|
scheduleUpdate(); |
||||||
|
} |
||||||
|
} |
||||||
|
}, false); |
||||||
|
appCache.addEventListener('noupdate', scheduleUpdate, false); |
||||||
|
appCache.addEventListener('error', scheduleUpdate, false); |
||||||
|
}); |
||||||
|
})();</script></body></html> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue