Stylish Migration

  • 1. Copy this script to the clipboard
  • chrome.extension.getBackgroundPage().getStyles({}, e => {
      let styles = JSON.stringify(e);
      let link = document.createElement('a');
      let data = new Blob([styles], {type: 'text/plain;charset=utf-8;'});
      link.href = window.URL.createObjectURL(data);
      link.setAttribute('download', 'styles.json');
      document.body.appendChild(link);
      link.click();
      document.body.removeChild(link);
    });
    
  • 2. Right-Click the Stylish toolbar button and select "Inspect Popup"
  • 3. Paste the script in the console tab and press Enter key
  • 4. Use the import button to import "styles.json" file

Import Styles