Telegram Web, preconfigured for usage in I2P. http://web.telegram.i2p/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
654 B

11 years ago
/*!
* Webogram v0.6.0 - messaging web application for MTProto
11 years ago
* https://github.com/zhukov/webogram
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
* https://github.com/zhukov/webogram/blob/master/LICENSE
*/
chrome.app.runtime.onLaunched.addListener(function (launchData) {
var isWindows = typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.match(/windows/i) ? true : false
11 years ago
chrome.app.window.create('../index.html', {
id: 'webogram-chat',
innerBounds: {
width: 1000,
11 years ago
height: 700
},
minWidth: 320,
minHeight: 400,
frame: isWindows ? { color: '#5682a3' } : 'chrome'
})
})