nightTab icon indicating copy to clipboard operation
nightTab copied to clipboard

Can't import data

Open IILokiII opened this issue 2 years ago • 13 comments

Windows 10 LTSC Firefox 104.02

I've just freshly reintsalled windows and I'm trying to import my previous data but when I import the file nothing happens, the settings sidebar simply closes. If I try to copy my data to my clipboard and import it like that it says

"Not the right kind of data. Make sure the clipboard holds data from nightTab or a nightTab backup JSON file."

I've also tried using other people's json files and they also don't work. I also dual boot linux mint and when I installed the extension on firefox I was able to import the data just fine

IILokiII avatar Sep 18 '22 02:09 IILokiII

I would try resetting the extension (same page you can load data from). Also, could you share your config file?

metruzanca avatar Sep 19 '22 21:09 metruzanca

Hi @IILokiII, as metruzanca says, a copy of the config files you have tried to import will help us with this issue. Please share it and we'll take a look.

zombieFox avatar Sep 20 '22 10:09 zombieFox

Hello! I have the same problem. When I export data from Chrome (version 105.0.5195.127, nightTab version is 7.3.0), and then import it in Firefox (version 105.0, same nightTab version), sidebar closes and nothing happens. When I try to import from clipboard, I get "Not the right kind of data. Make sure the clipboard holds data from nightTab or a nightTab backup JSON file." This is my config file:

{"nightTab":true,"version":"7.3.0","state":{"layout":{"area":{"header":{"width":100,"justify":"center"},"bookmark":{"width":100,"justify":"center"}},"alignment":"center-center","order":"header-bookmark","direction":"vertical","size":100,"width":80,"padding":40,"gutter":20,"breakpoint":"xl","scrollbar":"auto","title":"","favicon":"","overscroll":false},"header":{"item":{"justify":"left"},"greeting":{"show":false,"type":"good","custom":"","name":"","size":100,"newLine":false},"transitional":{"show":false,"type":"time-and-date","size":100,"newLine":false},"clock":{"hour":{"show":true,"display":"number"},"minute":{"show":true,"display":"number"},"second":{"show":false,"display":"number"},"separator":{"show":true,"text":""},"meridiem":{"show":false},"hour24":{"show":true},"size":100,"newLine":false},"date":{"day":{"show":false,"display":"word","weekStart":"monday","length":"long"},"date":{"show":true,"display":"number","ordinal":true},"month":{"show":true,"display":"word","length":"short","ordinal":true},"year":{"show":false,"display":"number"},"separator":{"show":true,"text":""},"format":"date-month","size":100,"newLine":false},"search":{"show":true,"width":{"by":"auto","size":30},"engine":{"selected":"google","custom":{"name":"","url":"","queryName":""}},"text":{"justify":"center"},"size":100,"newLine":false,"newTab":false,"string":"github"},"order":["clock","date","search","toolbar"],"edit":false},"bookmark":{"size":100,"url":{"show":true},"line":{"show":true},"shadow":{"show":true},"hoverScale":{"show":true},"orientation":"bottom","style":"block","newTab":false,"edit":false,"add":false,"show":true,"item":{}},"group":{"area":{"justify":"left"},"order":"header-body","name":{"size":100},"toolbar":{"size":100},"edit":false,"add":false},"toolbar":{"location":"header","position":"bottom-right","size":100,"accent":{"show":true},"add":{"show":true},"edit":{"show":true},"newLine":false},"theme":{"color":{"range":{"primary":{"h":223,"s":32}},"contrast":{"start":20,"end":47},"shades":14},"accent":{"hsl":{"h":0,"s":0,"l":87},"rgb":{"r":222,"g":222,"b":222},"random":{"active":false,"style":"any"},"cycle":{"active":false,"speed":300,"step":10}},"font":{"display":{"name":"Fira Code","weight":100,"style":"normal"},"ui":{"name":"Fira Code","weight":400,"style":"normal"}},"background":{"type":"image","color":{"hsl":{"h":221,"s":47,"l":17},"rgb":{"r":23,"g":36,"b":64}},"gradient":{"angle":160,"start":{"hsl":{"h":206,"s":16,"l":40},"rgb":{"r":86,"g":104,"b":118}},"end":{"hsl":{"h":219,"s":28,"l":12},"rgb":{"r":22,"g":28,"b":39}}},"image":{"url":"https://github.com/zombieFox/nightTabAssets/blob/main/images/1628356492462.jpeg?raw=true","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":5,"vignette":{"opacity":50,"start":90,"end":70}},"video":{"url":"","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":100,"vignette":{"opacity":0,"start":90,"end":70}}},"opacity":{"general":0},"layout":{"color":{"by":"custom","blur":0,"opacity":30,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"divider":{"size":0}},"header":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"search":{"opacity":0}},"bookmark":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"item":{"border":0,"opacity":0}},"group":{"toolbar":{"opacity":0}},"toolbar":{"opacity":0},"style":"dark","radius":50,"shadow":50,"shade":{"opacity":5,"blur":0},"custom":{"all":[{"name":"Palenight","color":{"range":{"primary":{"h":223,"s":32,"l":22}},"contrast":{"start":20,"end":47}},"accent":{"hsl":{"h":0,"s":0,"l":87},"rgb":{"r":222,"g":222,"b":222}},"font":{"display":{"name":"Fira Code","weight":100,"style":"normal"},"ui":{"name":"Fira Code","weight":400,"style":"normal"}},"background":{"type":"image","color":{"hsl":{"h":221,"s":47,"l":17},"rgb":{"r":23,"g":36,"b":64}},"gradient":{"angle":160,"start":{"hsl":{"h":206,"s":16,"l":40},"rgb":{"r":86,"g":104,"b":118}},"end":{"hsl":{"h":219,"s":28,"l":12},"rgb":{"r":22,"g":28,"b":39}}},"image":{"url":"https://github.com/zombieFox/nightTabAssets/blob/main/images/1628356492462.jpeg?raw=true","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":5,"vignette":{"opacity":50,"start":90,"end":70}},"video":{"url":"","blur":0,"grayscale":0,"scale":100,"accent":0,"opacity":100,"vignette":{"opacity":0,"start":90,"end":70}}},"radius":50,"shadow":50,"style":"dark","shade":{"opacity":5,"blur":0},"opacity":{"general":0},"layout":{"color":{"by":"custom","blur":0,"opacity":30,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"divider":{"size":0}},"header":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"search":{"opacity":0}},"bookmark":{"color":{"by":"theme","opacity":10,"hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"item":{"border":0,"opacity":0}},"group":{"toolbar":{"opacity":0}},"toolbar":{"opacity":0}}],"edit":false}},"search":false,"modal":false,"menu":true},"bookmark":[{"name":{"text":"Cool stuff","show":true},"collapse":false,"toolbar":{"openAll":{"show":true},"collapse":{"show":true}},"items":[{"url":"https://www.vk.com/im","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"VK","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":""},"icon":{"name":"vk","prefix":"fab","label":"VK"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1641496403288},{"url":"https://translate.google.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Google Translate","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":""},"icon":{"name":"language","prefix":"fas","label":"Language"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1641801611304},{"url":"https://youtube.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Youtube","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"Youtube"},"icon":{"name":"youtube","prefix":"fab","label":"YouTube"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1642009433690}]},{"name":{"text":"Dev sites","show":true},"collapse":false,"toolbar":{"openAll":{"show":true},"collapse":{"show":true}},"items":[{"url":"https://devdocs.io/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Devdocs","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"DEV"},"icon":{"name":"code","prefix":"fas","label":"Code"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1626298034209},{"url":"https://github.com/","display":{"alignment":"center-center","direction":"vertical","order":"visual-name","rotate":0,"translate":{"x":0,"y":0},"gutter":25,"name":{"show":true,"text":"Github","size":7},"visual":{"show":true,"type":"icon","size":25,"letter":{"text":"GIT"},"icon":{"name":"github","prefix":"fab","label":"GitHub"},"image":{"url":""},"shadow":{"size":0}}},"accent":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0}},"color":{"by":"theme","hsl":{"h":0,"s":0,"l":0},"rgb":{"r":0,"g":0,"b":0},"opacity":0},"background":{"show":false,"type":"image","opacity":100,"image":{"url":""},"video":{"url":""}},"border":0,"shape":{"wide":false,"tall":false},"timestamp":1626298038470}]}]}

F1zzTao avatar Sep 23 '22 07:09 F1zzTao

I've tried what you said @metruzanca but no dice.

Here's the config file
{
"bookmark":
    [
        {
        "collapse": false,
        "items":
            [
                {
                "accent":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "background":
                    {
                    "image":
                        {
                        "url": ""
                        },
                    "opacity": 100,
                    "show": false,
                    "type": "image",
                    "video":
                        {
                        "url": ""
                        }
                    },
                "border": 0,
                "color":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "opacity": 100,
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "display":
                    {
                    "alignment": "center-center",
                    "direction": "vertical",
                    "gutter": 25,
                    "name":
                        {
                        "show": true,
                        "size": 10,
                        "text": "Youtube"
                        },
                    "order": "visual-name",
                    "rotate": 0,
                    "translate":
                        {
                        "x": 0,
                        "y": 0
                        },
                    "visual":
                        {
                        "icon":
                            {
                            "label": "YouTube",
                            "name": "youtube",
                            "prefix": "fab"
                            },
                        "image":
                            {
                            "url": ""
                            },
                        "letter":
                            {
                            "text": ""
                            },
                        "shadow":
                            {
                            "size": 0
                            },
                        "show": true,
                        "size": 50,
                        "type": "icon"
                        }
                    },
                "shape":
                    {
                    "tall": false,
                    "wide": false
                    },
                "timestamp": 1645211559138,
                "url": "https://youtube.com"
                },
                {
                "accent":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "background":
                    {
                    "image":
                        {
                        "url": ""
                        },
                    "opacity": 100,
                    "show": false,
                    "type": "image",
                    "video":
                        {
                        "url": ""
                        }
                    },
                "border": 0,
                "color":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "opacity": 100,
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "display":
                    {
                    "alignment": "center-center",
                    "direction": "vertical",
                    "gutter": 25,
                    "name":
                        {
                        "show": true,
                        "size": 10,
                        "text": "Reddit"
                        },
                    "order": "visual-name",
                    "rotate": 0,
                    "translate":
                        {
                        "x": 0,
                        "y": 0
                        },
                    "visual":
                        {
                        "icon":
                            {
                            "label": "reddit Alien",
                            "name": "reddit-alien",
                            "prefix": "fab"
                            },
                        "image":
                            {
                            "url": ""
                            },
                        "letter":
                            {
                            "text": ""
                            },
                        "shadow":
                            {
                            "size": 0
                            },
                        "show": true,
                        "size": 50,
                        "type": "icon"
                        }
                    },
                "shape":
                    {
                    "tall": false,
                    "wide": false
                    },
                "timestamp": 1645211763751,
                "url": "https://old.reddit.com"
                },
                {
                "accent":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "background":
                    {
                    "image":
                        {
                        "url": ""
                        },
                    "opacity": 100,
                    "show": false,
                    "type": "image",
                    "video":
                        {
                        "url": ""
                        }
                    },
                "border": 0,
                "color":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "opacity": 100,
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "display":
                    {
                    "alignment": "center-center",
                    "direction": "vertical",
                    "gutter": 25,
                    "name":
                        {
                        "show": true,
                        "size": 10,
                        "text": "Gmail"
                        },
                    "order": "visual-name",
                    "rotate": 0,
                    "translate":
                        {
                        "x": 0,
                        "y": 0
                        },
                    "visual":
                        {
                        "icon":
                            {
                            "label": "Envelope",
                            "name": "envelope",
                            "prefix": "fas"
                            },
                        "image":
                            {
                            "url": ""
                            },
                        "letter":
                            {
                            "text": ""
                            },
                        "shadow":
                            {
                            "size": 0
                            },
                        "show": true,
                        "size": 50,
                        "type": "icon"
                        }
                    },
                "shape":
                    {
                    "tall": false,
                    "wide": false
                    },
                "timestamp": 1645211647400,
                "url": "https://mail.google.com"
                },
                {
                "accent":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "background":
                    {
                    "image":
                        {
                        "url": ""
                        },
                    "opacity": 100,
                    "show": false,
                    "type": "image",
                    "video":
                        {
                        "url": ""
                        }
                    },
                "border": 0,
                "color":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "opacity": 100,
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "display":
                    {
                    "alignment": "center-center",
                    "direction": "vertical",
                    "gutter": 25,
                    "name":
                        {
                        "show": true,
                        "size": 10,
                        "text": "Protonmail"
                        },
                    "order": "visual-name",
                    "rotate": 0,
                    "translate":
                        {
                        "x": 0,
                        "y": 0
                        },
                    "visual":
                        {
                        "icon":
                            {
                            "label": "lock",
                            "name": "lock",
                            "prefix": "fas"
                            },
                        "image":
                            {
                            "url": ""
                            },
                        "letter":
                            {
                            "text": ""
                            },
                        "shadow":
                            {
                            "size": 0
                            },
                        "show": true,
                        "size": 50,
                        "type": "icon"
                        }
                    },
                "shape":
                    {
                    "tall": false,
                    "wide": false
                    },
                "timestamp": 1645211719065,
                "url": "https://mail.protonmail.com"
                },
                {
                "accent":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "background":
                    {
                    "image":
                        {
                        "url": ""
                        },
                    "opacity": 100,
                    "show": false,
                    "type": "image",
                    "video":
                        {
                        "url": ""
                        }
                    },
                "border": 0,
                "color":
                    {
                    "by": "theme",
                    "hsl":
                        {
                        "h": 0,
                        "l": 0,
                        "s": 0
                        },
                    "opacity": 100,
                    "rgb":
                        {
                        "b": 0,
                        "g": 0,
                        "r": 0
                        }
                    },
                "display":
                    {
                    "alignment": "center-center",
                    "direction": "vertical",
                    "gutter": 25,
                    "name":
                        {
                        "show": true,
                        "size": 10,
                        "text": "Whatsapp"
                        },
                    "order": "visual-name",
                    "rotate": 0,
                    "translate":
                        {
                        "x": 0,
                        "y": 0
                        },
                    "visual":
                        {
                        "icon":
                            {
                            "label": "What's App",
                            "name": "whatsapp",
                            "prefix": "fab"
                            },
                        "image":
                            {
                            "url": ""
                            },
                        "letter":
                            {
                            "text": ""
                            },
                        "shadow":
                            {
                            "size": 0
                            },
                        "show": true,
                        "size": 50,
                        "type": "icon"
                        }
                    },
                "shape":
                    {
                    "tall": false,
                    "wide": false
                    },
                "timestamp": 1645211793599,
                "url": "https://web.whatsapp.com"
                }
            ],
        "name":
            {
            "show": true,
            "text": ""
            },
        "toolbar":
            {
            "collapse":
                {
                "show": true
                },
            "openAll":
                {
                "show": true
                },
            "size": 100
            }
        }
    ],
"nightTab": true,
"state":
    {
    "bookmark":
        {
        "add": false,
        "edit": false,
        "hoverScale":
            {
            "show": true
            },
        "item":
            {
            },
        "line":
            {
            "show": true
            },
        "newTab": false,
        "orientation": "bottom",
        "shadow":
            {
            "show": true
            },
        "show": true,
        "size": 100,
        "style": "block",
        "url":
            {
            "show": true
            }
        },
    "group":
        {
        "add": false,
        "area":
            {
            "justify": "left"
            },
        "edit": false,
        "name":
            {
            "size": 100
            },
        "order": "header-body",
        "toolbar":
            {
            "size": 50
            }
        },
    "header":
        {
        "clock":
            {
            "hour":
                {
                "display": "number",
                "show": true
                },
            "hour24":
                {
                "show": true
                },
            "meridiem":
                {
                "show": false
                },
            "minute":
                {
                "display": "number",
                "show": true
                },
            "newLine": false,
            "second":
                {
                "display": "number",
                "show": true
                },
            "separator":
                {
                "show": true,
                "text": ""
                },
            "size": 100
            },
        "date":
            {
            "date":
                {
                "display": "number",
                "ordinal": false,
                "show": true
                },
            "day":
                {
                "display": "word",
                "length": "short",
                "show": true,
                "weekStart": "monday"
                },
            "format": "date-month",
            "month":
                {
                "display": "word",
                "length": "short",
                "ordinal": true,
                "show": true
                },
            "newLine": false,
            "separator":
                {
                "show": true,
                "text": ""
                },
            "size": 100,
            "year":
                {
                "display": "number",
                "show": false
                }
            },
        "edit": false,
        "greeting":
            {
            "custom": "",
            "name": "",
            "newLine": false,
            "show": false,
            "size": 100,
            "type": "good"
            },
        "item":
            {
            "justify": "left"
            },
        "order":
            [
            "clock",
            "date",
            "search",
            "toolbar"
            ],
        "search":
            {
            "engine":
                {
                "custom":
                    {
                    "name": "",
                    "queryName": "",
                    "url": ""
                    },
                "selected": "google"
                },
            "newLine": false,
            "newTab": false,
            "show": true,
            "size": 100,
            "string": "",
            "text":
                {
                "justify": "center"
                },
            "width":
                {
                "by": "auto",
                "size": 30
                }
            },
        "transitional":
            {
            "newLine": false,
            "show": false,
            "size": 100,
            "type": "time-and-date"
            }
        },
    "layout":
        {
        "alignment": "center-center",
        "area":
            {
            "bookmark":
                {
                "justify": "center",
                "width": 78
                },
            "header":
                {
                "justify": "center",
                "width": 100
                }
            },
        "breakpoint": "xl",
        "direction": "vertical",
        "favicon": "",
        "gutter": 20,
        "order": "header-bookmark",
        "overscroll": false,
        "padding": 40,
        "scrollbar": "thin",
        "size": 100,
        "title": "",
        "width": 80
        },
    "menu": true,
    "modal": false,
    "search": false,
    "theme":
        {
        "accent":
            {
            "cycle":
                {
                "active": false,
                "speed": 300,
                "step": 10
                },
            "hsl":
                {
                "h": 0,
                "l": 33,
                "s": 0
                },
            "random":
                {
                "active": false,
                "style": "any"
                },
            "rgb":
                {
                "b": 85,
                "g": 85,
                "r": 85
                }
            },
        "background":
            {
            "color":
                {
                "hsl":
                    {
                    "h": 0,
                    "l": 0,
                    "s": 0
                    },
                "rgb":
                    {
                    "b": 0,
                    "g": 0,
                    "r": 0
                    }
                },
            "gradient":
                {
                "angle": 160,
                "end":
                    {
                    "hsl":
                        {
                        "h": 219,
                        "l": 12,
                        "s": 28
                        },
                    "rgb":
                        {
                        "b": 39,
                        "g": 28,
                        "r": 22
                        }
                    },
                "start":
                    {
                    "hsl":
                        {
                        "h": 206,
                        "l": 40,
                        "s": 16
                        },
                    "rgb":
                        {
                        "b": 118,
                        "g": 104,
                        "r": 86
                        }
                    }
                },
            "image":
                {
                "accent": 0,
                "blur": 0,
                "grayscale": 0,
                "opacity": 100,
                "scale": 100,
                "url": "",
                "vignette":
                    {
                    "end": 70,
                    "opacity": 0,
                    "start": 90
                    }
                },
            "type": "color",
            "video":
                {
                "accent": 0,
                "blur": 0,
                "grayscale": 0,
                "opacity": 100,
                "scale": 100,
                "url": "",
                "vignette":
                    {
                    "end": 70,
                    "opacity": 0,
                    "start": 90
                    }
                }
            },
        "bookmark":
            {
            "color":
                {
                "by": "theme",
                "hsl":
                    {
                    "h": 0,
                    "l": 0,
                    "s": 0
                    },
                "opacity": 10,
                "rgb":
                    {
                    "b": 0,
                    "g": 0,
                    "r": 0
                    }
                },
            "item":
                {
                "border": 0,
                "opacity": 100
                }
            },
        "color":
            {
            "contrast":
                {
                "end": 100,
                "start": 0
                },
            "range":
                {
                "primary":
                    {
                    "h": 0,
                    "s": 0
                    }
                },
            "shades": 14
            },
        "custom":
            {
            "all":
                [
                    {
                    "accent":
                        {
                        "hsl":
                            {
                            "h": 0,
                            "l": 33,
                            "s": 0
                            },
                        "rgb":
                            {
                            "b": 85,
                            "g": 85,
                            "r": 85
                            }
                        },
                    "background":
                        {
                        "color":
                            {
                            "hsl":
                                {
                                "h": 0,
                                "l": 0,
                                "s": 0
                                },
                            "rgb":
                                {
                                "b": 0,
                                "g": 0,
                                "r": 0
                                }
                            },
                        "gradient":
                            {
                            "angle": 160,
                            "end":
                                {
                                "hsl":
                                    {
                                    "h": 219,
                                    "l": 12,
                                    "s": 28
                                    },
                                "rgb":
                                    {
                                    "b": 39,
                                    "g": 28,
                                    "r": 22
                                    }
                                },
                            "start":
                                {
                                "hsl":
                                    {
                                    "h": 206,
                                    "l": 40,
                                    "s": 16
                                    },
                                "rgb":
                                    {
                                    "b": 118,
                                    "g": 104,
                                    "r": 86
                                    }
                                }
                            },
                        "image":
                            {
                            "accent": 0,
                            "blur": 0,
                            "grayscale": 0,
                            "opacity": 100,
                            "scale": 100,
                            "url": "",
                            "vignette":
                                {
                                "end": 70,
                                "opacity": 0,
                                "start": 90
                                }
                            },
                        "type": "color",
                        "video":
                            {
                            "accent": 0,
                            "blur": 0,
                            "grayscale": 0,
                            "opacity": 100,
                            "scale": 100,
                            "url": "",
                            "vignette":
                                {
                                "end": 70,
                                "opacity": 0,
                                "start": 90
                                }
                            }
                        },
                    "bookmark":
                        {
                        "color":
                            {
                            "by": "theme",
                            "hsl":
                                {
                                "h": 0,
                                "l": 0,
                                "s": 0
                                },
                            "opacity": 10,
                            "rgb":
                                {
                                "b": 0,
                                "g": 0,
                                "r": 0
                                }
                            },
                        "item":
                            {
                            "border": 0,
                            "opacity": 100
                            }
                        },
                    "color":
                        {
                        "contrast":
                            {
                            "end": 100,
                            "start": 0
                            },
                        "range":
                            {
                            "primary":
                                {
                                "h": 0,
                                "l": 10,
                                "s": 0
                                }
                            }
                        },
                    "font":
                        {
                        "display":
                            {
                            "name": "",
                            "style": "normal",
                            "weight": 400
                            },
                        "ui":
                            {
                            "name": "",
                            "style": "normal",
                            "weight": 400
                            }
                        },
                    "group":
                        {
                        "toolbar":
                            {
                            "opacity": 100
                            }
                        },
                    "header":
                        {
                        "color":
                            {
                            "by": "theme",
                            "hsl":
                                {
                                "h": 0,
                                "l": 0,
                                "s": 0
                                },
                            "opacity": 10,
                            "rgb":
                                {
                                "b": 0,
                                "g": 0,
                                "r": 0
                                }
                            },
                        "search":
                            {
                            "opacity": 100
                            }
                        },
                    "layout":
                        {
                        "color":
                            {
                            "blur": 0,
                            "by": "theme",
                            "hsl":
                                {
                                "h": 0,
                                "l": 0,
                                "s": 0
                                },
                            "opacity": 10,
                            "rgb":
                                {
                                "b": 0,
                                "g": 0,
                                "r": 0
                                }
                            },
                        "divider":
                            {
                            "size": 0
                            }
                        },
                    "name": "cacon",
                    "opacity":
                        {
                        "general": 100
                        },
                    "radius": 0,
                    "shade":
                        {
                        "blur": 0,
                        "opacity": 30
                        },
                    "shadow": 75,
                    "style": "dark",
                    "toolbar":
                        {
                        "opacity": 100
                        }
                    }
                ],
            "edit": false
            },
        "font":
            {
            "display":
                {
                "name": "",
                "style": "normal",
                "weight": 400
                },
            "ui":
                {
                "name": "",
                "style": "normal",
                "weight": 400
                }
            },
        "group":
            {
            "toolbar":
                {
                "opacity": 100
                }
            },
        "header":
            {
            "color":
                {
                "by": "theme",
                "hsl":
                    {
                    "h": 0,
                    "l": 0,
                    "s": 0
                    },
                "opacity": 10,
                "rgb":
                    {
                    "b": 0,
                    "g": 0,
                    "r": 0
                    }
                },
            "search":
                {
                "opacity": 100
                }
            },
        "layout":
            {
            "color":
                {
                "blur": 0,
                "by": "theme",
                "hsl":
                    {
                    "h": 0,
                    "l": 0,
                    "s": 0
                    },
                "opacity": 10,
                "rgb":
                    {
                    "b": 0,
                    "g": 0,
                    "r": 0
                    }
                },
            "divider":
                {
                "size": 0
                }
            },
        "opacity":
            {
            "general": 100
            },
        "radius": 0,
        "shade":
            {
            "blur": 0,
            "opacity": 30
            },
        "shadow": 75,
        "style": "dark",
        "toolbar":
            {
            "opacity": 100
            }
        },
    "toolbar":
        {
        "accent":
            {
            "show": true
            },
        "add":
            {
            "show": true
            },
        "edit":
            {
            "show": true
            },
        "location": "header",
        "newLine": false,
        "position": "top-left",
        "size": 100
        }
    },
"version": "7.3.0"
}

But it happens with any config file, even if I edit the default one, clear and try to re-import it won't work.

IILokiII avatar Sep 25 '22 20:09 IILokiII

I've had a quick look with these config files. All is working as expected in Chrome. In Firefox there does seem to be a new issue when importing via the "Import from clipboard" feature. I suspect this is due to Firefox changing something in a recent update.

Importing via the "Import from file" feature is still working. I suggest this method be used when importing until I can work out what has changed with Firefox and get a fix out.

zombieFox avatar Sep 26 '22 08:09 zombieFox

Import from file is not working either, the sidebar simply closes after selecting the file and nothing changes.

But like I said the weird thing on my case is that, even when using the same firefox version and same config file, it works on linux but not on windows.

IILokiII avatar Sep 26 '22 17:09 IILokiII

Same problem here :/ From Chrome to Firefox, both from clipboard and from file don't work.

patrikzudel avatar Oct 29 '22 21:10 patrikzudel

Hello there. I had the same problem where the integrated restore function doesnt work via clipboard nor JSON. However, after tons of testing I think I found the fix. Heres what I did:

  1. Go to the nightTab you want to copy
  2. Open developer mode (assuming you are on firefox)
  3. Go to storage
  4. Click local storage and then the extension
  5. Here you will see two values, nightTab and nightTabStyle, simply copy the data from nightTab by right clicking and hitting copy.
  6. Go to the nightTab on the browser you'd like to input it to
  7. Follow the same steps as above; however, rather than copying the nightTab key, you will paste it.

I'd like to note that this didn't work the first time due to it recognizing nightTab as an array rather than an object; however, this only occured once and I'm not sure what I did to workaround it.

I hope this helps, if you have questions please ask me! After an hour of bugtesting, my home page is back to normal :)

aidenszolosi avatar Dec 29 '22 07:12 aidenszolosi

Can confirm @aidenszolosi solution worked, I just copied the contents of the json generated from the backup and pasted it on the extension storage data and it worked without issues.

IILokiII avatar Jan 15 '23 21:01 IILokiII

@IILokiII Glad to be of help! :) Not the most convenient but it gets the job done. A workaround for a bug rather than a fix unfortunately.

Can confirm @aidenszolosi solution worked, I just copied the contents of the json generated from the backup and pasted it on the extension storage data and it worked without issues.

aidenszolosi avatar Jan 16 '23 00:01 aidenszolosi

I am still facing the same issue with nightTab 7.3.0 on Firefox 110.0. Can reproduce the same issue if I just try to "Backup > Copy to Clipboard" then "Restore > Import from Clipboard" on a freshly installed copy of nightTab. Importing from a file on the other hand does not trigger the error but does nothing (it just closes the Settings menu without changing anything).

EDIT: if you don't have a working copy of nightTab running (like I have), it seems that copying the content of the backup JSON file to the nightTab local storage key (as described in https://github.com/zombieFox/nightTab/issues/388#issuecomment-1367116030) seems to also work.

0rax avatar Apr 15 '23 23:04 0rax

Hello there. I had the same problem where the integrated restore function doesnt work via clipboard nor JSON. However, after tons of testing I think I found the fix. Heres what I did:

  1. Go to the nightTab you want to copy
  2. Open developer mode (assuming you are on firefox)
  3. Go to storage
  4. Click local storage and then the extension
  5. Here you will see two values, nightTab and nightTabStyle, simply copy the data from nightTab by right clicking and hitting copy.
  6. Go to the nightTab on the browser you'd like to input it to
  7. Follow the same steps as above; however, rather than copying the nightTab key, you will paste it.

I'd like to note that this didn't work the first time due to it recognizing nightTab as an array rather than an object; however, this only occured once and I'm not sure what I did to workaround it.

I hope this helps, if you have questions please ask me! After an hour of bugtesting, my home page is back to normal :)

Thank u

DarkVillager avatar May 22 '24 17:05 DarkVillager

Hello there. I had the same problem where the integrated restore function doesnt work via clipboard nor JSON. However, after tons of testing I think I found the fix. Heres what I did:

  1. Go to the nightTab you want to copy
  2. Open developer mode (assuming you are on firefox)
  3. Go to storage
  4. Click local storage and then the extension
  5. Here you will see two values, nightTab and nightTabStyle, simply copy the data from nightTab by right clicking and hitting copy.
  6. Go to the nightTab on the browser you'd like to input it to
  7. Follow the same steps as above; however, rather than copying the nightTab key, you will paste it.

I'd like to note that this didn't work the first time due to it recognizing nightTab as an array rather than an object; however, this only occured once and I'm not sure what I did to workaround it. I hope this helps, if you have questions please ask me! After an hour of bugtesting, my home page is back to normal :)

Thank u

Happy to help, my friend.

aidenszolosi avatar May 22 '24 23:05 aidenszolosi