
//Add a flag to indicate Dev mode.
chrome.browserAction.setBadgeText({text: "PRO"});


//Open the extension in a new tab.
chrome.browserAction.onClicked.addListener(function() {
	chrome.tabs.create({ url: "index.html" });
});

@@ -29,16 +29,111 @@
 v mode.%0A
+chrome.management.getSelf(function(result) %7B%0A  if (result.installType === %22development%22) %7B%0A    
 chrome.b
@@ -174,16 +174,24 @@
 PRO%22%7D);%0A
+  %7D%0A%7D);%0A
 %0A%0A//Open

Add dev flag