Backing up Stylish styles



  • OS: Ubuntu 16.04
    Vivaldi: 1.7.721.3 (Official Build) dev (64-bit)
    Stylish: 1.6.3

    I don't know which file stores styles used by Stylish in Vivaldi. In Firefox, Stylish stores its styles in ~/.mozilla/firefox/profile.name/stylish.sqlite . There's no such file by that name in Vivaldi or in Google Chrome.

    The reason I'm asking is that I would like to backup my styles in the event of something happening! I don't want to back up ~/.config/vivaldi-snapshot/Default entirely.



  • @aesouza I think this should apply, more or less, to Linux too:
    https://forum.userstyles.org/discussion/52400/styles-backup



  • @rseiler said in Backing up Stylish styles:

    @aesouza I think this should apply, more or less, to Linux too:
    https://forum.userstyles.org/discussion/52400/styles-backup

    Thanks for that!



  • @rseiler said in Backing up Stylish styles:

    @aesouza I think this should apply, more or less, to Linux too:
    https://forum.userstyles.org/discussion/52400/styles-backup

    Okay, I just found out something that may be relevant to not backing up the way that's described in the link. (I did this with Google Chrome, not Vivaldi so there wasn't any real damage.)

    With the browser closed, I went into the Stylish extension folder and modified the last line in ~/.config/google-chrome/Default/Extensions/fjnbnpbmkenffdnngjfgmeleoegfcffe/1.6.3_0/styles.css.

    The line is this: /** zero styles >**/. All I did was change it to /** zero_styles >**/. On starting the browser, I went into the Extensions page only to be told that the Stylish extension was corrupt. I was asked if I wanted to repair it. I chose OK but the test style that was existing previously had gone. Also, I had to re-uncheck the privacy option. It looks like the extension was "re-installed" and any previous user data related to the extension was wiped!

    So my feeling is that any messing with the contents of the Stylish extension files won't have a happy ending, at least for the Linux version.

    For now, I'll just copy the Vivaldi styles I have as plain text and save them in time-stamped files on a periodic basis.



  • @aesouza
    If you change something in it then yes, Chrom* will think it's broken. It's their Extension Check mechanism which Firefox then follow. Been like that since beginning I believe.
    That's why exporting settings between different OS is major PITA without sync.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.