]> git.wh0rd.org - chrome-ext/clearhistory-advance-fork.git/blobdiff - javascript/background.js
do not autoload options page on first install
[chrome-ext/clearhistory-advance-fork.git] / javascript / background.js
index 1a00748bf163281e5f061411caba3f7b7c0990ed..36974bc012b09351c923f1bd3109047ffb0652c0 100644 (file)
@@ -31,12 +31,3 @@ var CONSTANTS = {
    */
   NO: 'no'
 };
-
-/**
- * Go to the options page on first run
- */
-if (!localStorage['options-set']) {
-  var optionsPageURL = chrome.extension.getURL('/views/options.html');
-  chrome.tabs.create({url: optionsPageURL});
-  localStorage['options-set'] = 1;
-}