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;
View File
File renamed without changes.
+1 -1
View File
@@ -9,7 +9,7 @@
"applications": {
"gecko": {
"id": "nazeka@wareya.moe",
"strict_min_version": "56.0"
"strict_min_version": "57.0"
}
},
+2 -2
View File
@@ -58,7 +58,7 @@ function defaults()
id: "alternatives_mode",
kind: "combobox",
options: ["Longest match only", "Longest and shortest match", "Longest and second longest match", "All matches"],
default: 0,
default: 3,
label: "Matching mode"
});
settings.push({
@@ -109,7 +109,7 @@ function defaults()
id: "live_mining",
kind: "checkbox",
default: false,
label: "Enable live mining (experimental!) (configured via the button below under \"Other\")"
label: "Enable live mining (configured via the button below under \"Other\")"
});
// display