Updated import to strip 'session_'
This commit is contained in:
parent
4011b3b191
commit
c73b42e451
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": " Easy Session Manager",
|
"name": "Easy Session Manager",
|
||||||
"version": "0.2.3.0",
|
"version": "0.2.3.1",
|
||||||
"description": "Easy Session Manager allows you to manage your Firefox session by backing up or loading your saved sessions.",
|
"description": "Easy Session Manager allows you to manage your Firefox session by backing up or loading your saved sessions.",
|
||||||
|
|
||||||
"applications": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "sessionManager@itdominator.com",
|
"id": "sessionManager@itdominator.com",
|
||||||
"strict_min_version": "57.0"
|
"strict_min_version": "57.0"
|
||||||
|
|
|
@ -5,7 +5,7 @@ let data = null;
|
||||||
|
|
||||||
const prePprocessor = (obj, enteryName = '', message = "") => {
|
const prePprocessor = (obj, enteryName = '', message = "") => {
|
||||||
let inputTag = document.getElementsByName("toSaveNameImport")[0];
|
let inputTag = document.getElementsByName("toSaveNameImport")[0];
|
||||||
inputTag.value = enteryName.replace(/ /g, "_");
|
inputTag.value = enteryName.replace(/ /g, "_").replace(/session_/g, "");
|
||||||
data = obj.target.result;
|
data = obj.target.result;
|
||||||
document.getElementsByName("toSaveImportErrMessage")[0].innerText = message;
|
document.getElementsByName("toSaveImportErrMessage")[0].innerText = message;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue