Updated import to strip 'session_'

This commit is contained in:
itdominator 2023-09-23 16:21:09 -05:00
parent 4011b3b191
commit c73b42e451
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
{
"manifest_version": 2,
"name": " Easy Session Manager",
"version": "0.2.3.0",
"name": "Easy Session Manager",
"version": "0.2.3.1",
"description": "Easy Session Manager allows you to manage your Firefox session by backing up or loading your saved sessions.",
"applications": {
"browser_specific_settings": {
"gecko": {
"id": "sessionManager@itdominator.com",
"strict_min_version": "57.0"

View File

@ -5,7 +5,7 @@ let data = null;
const prePprocessor = (obj, enteryName = '', message = "") => {
let inputTag = document.getElementsByName("toSaveNameImport")[0];
inputTag.value = enteryName.replace(/ /g, "_");
inputTag.value = enteryName.replace(/ /g, "_").replace(/session_/g, "");
data = obj.target.result;
document.getElementsByName("toSaveImportErrMessage")[0].innerText = message;
}