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

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

@@ -29,18 +29,111 @@
 v mode.%0A
-//
+chrome.management.getSelf(function(result) %7B%0A  if (result.installType === %22development%22) %7B%0A    
 chrome.b
@@ -170,16 +170,24 @@
 t: %22
-yarc%22%7D);
+DEV%22%7D);%0A  %7D%0A%7D);%0A
 %0A%0A//

Add dev flag