From 207f54cbc44beccd175b238d64e6d6c25d456c7f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 29 Jan 2013 16:16:50 -0500 Subject: [PATCH] do not autoload options page on first install This is annoying behavior when sync is enabled and extensions get auto installed in the background. --- javascript/background.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/javascript/background.js b/javascript/background.js index 1a00748..36974bc 100644 --- a/javascript/background.js +++ b/javascript/background.js @@ -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; -} -- 2.39.5