chrome.browserAction.onClicked.addListener(function(tab) {
// Get the value from localStorage
var showPrompt = localStorage['prompt'] || CONSTANTS.YES;
chrome.browserAction.onClicked.addListener(function(tab) {
// Get the value from localStorage
var showPrompt = localStorage['prompt'] || CONSTANTS.YES;
// The confirmation message to ask
var message = chrome.i18n.getMessage('confirmPrompt');
// Clear cookies, and then clear the history
if (showPrompt === CONSTANTS.YES) {
// The confirmation message to ask
var message = chrome.i18n.getMessage('confirmPrompt');
// Clear cookies, and then clear the history
if (showPrompt === CONSTANTS.YES) {