summaryrefslogtreecommitdiff
path: root/data/extensions/https-everywhere@eff.org/pages/devtools/ux.js
blob: 8244cbf2df55ff96f4ba440ae58e9092d1b7eb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* global sendMessage */

"use strict";

const defaultOptions = {
  showDevtoolsTab: true
};

sendMessage("get_option", defaultOptions, item => {
  if (item.showDevtoolsTab) {
    chrome.devtools.panels.create("HTTPS Everywhere",
      "/images/icons/icon-active-38.png",
      "/pages/devtools/panel.html",
      function() { }
    );
  }
});