Skip to content

Export/Import #112

Answered by webextensions
IlanZ93 asked this question in Q&A
Dec 7, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@IlanZ93
For the users who are familiar with JS, they can copy the raw data with a script.

  • Load the extension on a webpage
  • Open browser DevTools
  • Go to the Console tab in DevTools
  • Select the "JavaScript execution context" as Magic CSS (by default, the context would be "top")
  • Run the following script:
var copyToClipboard=copy;
chrome.storage.local.get(null,function(val){
    copyToClipboard(JSON.stringify(val,null,'  '));
});

This would copy the CSS data to the clipboard.

Note: It doesn't include the global configuration/settings.

Now, in the other machine:

  • Install the extension
  • Load the extension on a webpage
  • Open browser DevTools
  • Go to the Console tab in DevTools
  • Select the "JavaScript…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IlanZ93
Comment options

Answer selected by IlanZ93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants