how to export/save all settings into a file for import into another client/browser?

337 views
Skip to first unread message

13g...@gmail.com

unread,
May 31, 2018, 1:23:11 PM5/31/18
to Midnight Lizard Support
how to export/save all settings into a file for import into another client/browser?

Midnight Lizard

unread,
May 31, 2018, 3:43:43 PM5/31/18
to midnight-li...@googlegroups.com
Hi!
You can export user color schemes one at a time and then import it into another client.
If you are using the same browser just on another machine then settings synchronization will automatically transfer all color schemes and their usage on websites.
But in case you want to transfer all settings to another browser (e.g. from Chrome to Firefox) or to another user (so you cannot sync) then there is no built in method for this.
But you can use the following trick with a consideration that your websites usage might be exposed!
1) Open Midnight Lizard settings popup
2) Right click and choose "Inspect"
3) Go to "Console" tab, paste the following code and press Enter:
const cp = copycr = new Chrome.ChromePromise(),
      sync
= JSON.stringify(await cr.storage.sync.get(null)),
     
local = JSON.stringify(await cr.storage.local.get(null));
cp
(`chrome.storage.sync.set(${sync});
    chrome.storage.local.set(${local});`
);

4) Now your clipboard contains all the settings. You can paste it somewhere to transfer to another machine.
5) In another browser open Midnight Lizard settings popup
6) Right click and choose "Inspect"
7) Go to "Console" tab, paste the code that was in clipboard and press Enter. This will override the existing settings!

Best regards
Midnight Lizard

Midnight Lizard

unread,
May 31, 2018, 4:12:38 PM5/31/18
to Midnight Lizard Support
DO NOT USE CODE FROM EMAIL
I made a mistake and fixed it.
But email will contain the first version.
So come to the forum to see the latest version.

Mark Itza

unread,
Aug 21, 2021, 7:59:59 AM8/21/21
to Midnight Lizard Support
Hey Pavel

Thanks for this incredible extension. I used 4 chrome profiles and wanted to move the settings as described above but get an error when I try the console copy code, is this still the only way to move settings to another profile in Chrome?
error is:
Uncaught ReferenceError: Chrome is not defined
    at <anonymous>:1:23

thanks
MI

Mark Itza

unread,
Aug 21, 2021, 8:19:19 AM8/21/21
to Midnight Lizard Support
totally missed the post on exporting... disregard this post please!
:)

Wendi Sneden

unread,
Aug 23, 2022, 3:03:37 AM8/23/22
to Midnight Lizard Support
Thanks for nothing. In fact, thanks for less than nothing.

Dnart Skel

unread,
Mar 2, 2024, 2:49:55 AMMar 2
to Midnight Lizard Support
Can you add export and import features, please?
Reply all
Reply to author
Forward
0 new messages