]> git.wh0rd.org - chrome-ext/clearhistory-advance-fork.git/blobdiff - javascript/background.js
add an option to automatically purge history
[chrome-ext/clearhistory-advance-fork.git] / javascript / background.js
index 36974bc012b09351c923f1bd3109047ffb0652c0..9473cdaa6c40b99fd28d4d2b4e5c31c9bc2b83f3 100644 (file)
@@ -11,7 +11,7 @@ var CONSTANTS = {
    * @type {Array.<number>}
    * @const
    */
-  TIMES: [-1, 1, 2, 24, 168],
+  TIMES: [-1, 1, 2, 24, 168, 336, 720],
   /**
    * The default time (in hours)
    * @type {number}
@@ -29,5 +29,7 @@ var CONSTANTS = {
    * @type {string}
    * @const
    */
-  NO: 'no'
+  NO: 'no',
+
+  CLEANER_ALARM: 'auto-cleaner'
 };