Til

today i learned:

View the Project on GitHub Coding4Hours/Til

Disable all extensions

chrome.management.getAll(function(extensions) {
  extensions.forEach(function(extension) {
    if (extension.id !== chrome.runtime.id && extension.enabled) {
      chrome.management.setEnabled(extension.id, false);
    }
  });