Skip to content

TagSpaces is an offline, open source, document manager with tagging support

adding new popup in chrome for application start

uggrockf7ed1dd3b86d
diff --git a/data/chromelight/background.js b/data/chromelight/background.js
index 103afbe2e..22477ee26 100644
--- a/data/chromelight/background.js
+++ b/data/chromelight/background.js
@@ -1,9 +1,9 @@
/* Copyright (c) 2012-2013 The TagSpaces Authors. All rights reserved.
* Use of this source code is governed by a AGPL3 license that
* can be found in the LICENSE file. */
-chrome.browserAction.onClicked.addListener(function() {
+/*chrome.browserAction.onClicked.addListener(function() {
chrome.tabs.create({ url: 'index.html'});
-});
+});*/
chrome.runtime.onInstalled.addListener(function(details){
if(details.reason == "install"){
chrome.tabs.create({url: "index.html"});
@@ -11,4 +11,5 @@ chrome.runtime.onInstalled.addListener(function(details){
var thisVersion = chrome.runtime.getManifest().version;
console.log("Updated from " + details.previousVersion + " to " + thisVersion +" !");
}
-});
\ No newline at end of file
+});
+//chrome.runtime.setUninstallURL("http://www.tagspaces.org/uninstallsurvey/");
\ No newline at end of file