cleanup, tweak a couple small things, prep for release

This commit is contained in:
wareya committed 2019-04-10 17:08:18 -04:00
1 parent 32f02b03a5
commit 8aefcc1166
4 files changed
+19 -3

No files matched your search

+16
View File
@@ -1362,6 +1362,16 @@ function open_mining(info, tab)
});
} catch(err) {}
}
function open_livemining(info, tab)
{
try
{
browser.windows.create({
url:browser.extension.getURL("livemining.html"),
type:"popup"
});
} catch(err) {}
}
if(browser.contextMenus)
{
@@ -1377,6 +1387,12 @@ if(browser.contextMenus)
contexts: ["browser_action"],
onclick: open_mining
});
browser.contextMenus.create({
id: "nazeka-livemining",
title: "Configure Live Mining",
contexts: ["browser_action"],
onclick: open_livemining
});
}
let origin_tab = undefined;