Index: lib/uninstall.js |
diff --git a/lib/uninstall.js b/lib/uninstall.js |
index 3872e1cde76860e697cb24fb44005e182ddbfeef..0c8e54c81bf6683706faf8c1f32b513cf5d57740 100644 |
--- a/lib/uninstall.js |
+++ b/lib/uninstall.js |
@@ -30,6 +30,21 @@ function setUninstallURL() |
search.push(key + "=" + encodeURIComponent(info[key])); |
let downlCount = Prefs.notificationdata.downloadCount || 0; |
+ |
+ if (downlCount > 4) |
+ { |
+ if (downlCount < 8) |
+ downlCount = "5-7"; |
+ else if (downlCount < 30) |
+ downlCount = "8-29"; |
+ else if (downlCount < 90) |
+ downlCount = "30-89"; |
+ else if (downlCount < 180) |
+ downlCount = "90-179"; |
+ else |
+ downlCount = "180+"; |
+ } |
+ |
search.push("notificationDownloadCount=" + encodeURIComponent(downlCount)); |
chrome.runtime.setUninstallURL(Utils.getDocLink("uninstalled") + "&" + |