print version on startup

10.3.x-maintenance
cTn 2014-02-03 06:21:26 +01:00
parent 2ebd108f43
commit 7fb560acb1
1 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,9 @@ $(document).ready(function() {
chrome.app.window.current().close(); chrome.app.window.current().close();
}); });
// alternative - window.navigator.appVersion.match(/Chrome\/([0-9.]*)/)[1];
GUI.log('Running - <strong>Configurator</strong>: ' + chrome.runtime.getManifest().version + ', <strong>Chrome</strong>: ' + window.navigator.appVersion.replace(/.*Chrome\/([0-9.]*).*/,"$1"));
// Tabs // Tabs
var tabs = $('#tabs > ul'); var tabs = $('#tabs > ul');
$('a', tabs).click(function() { $('a', tabs).click(function() {