Notice: The devs are no longer actively involved in the forum, so any bug reports regarding the Stylish extension or this website should be sent to them directly at contact@userstyles.org.
Changing your Avatar.
The only way to currently change a forum avatar is through Gravatar.com. The email address used for your Userstyles.org account must be one of the email addresses that is registered to your Gravatar account.

New version for Firefox

13

Comments

  • Jefferson said:

    After the update, the styles that I downloaded are still there, but the ones I wrote myself are gone. Is there any way for me to retrieve my old styles?

    This seems to be an intentional decision by the developers. For some options on migrating your personal styles, see: https://www.userchrome.org/alternatives-to-stylish.html#migration
    Oh my gosh, I'm so relieved - I was able to recover all of them from the "About this version" link. Thank you so much!
  • This app used to work properly, now it's full of errors. I lost my themes and can't seem to make it work again. What a terrible job with this update. Will there be a fix? I need to know, because otherwise i'm uninstalling this new s*it version.
  • edited November 2017 Firefox

    @Flávia Aguiar
    Just try some working alternatives like Stylus (which I use by myself) or xStyle (haven't tried yet cause Stylus is already ingenious enough for me ;-)

  • I lost my themes and can't seem to make it work again. ... Will there be a fix?

    The developers rarely respond with any official information.

    Are you getting a database error?

    The migration between Stylish 2.1.1 and Stylish 3.0.1 only brought over the user styles with addresses on userstyles.org. That seems to be an intentional design choice. I have some notes on migrating the other ones here: https://www.userchrome.org/alternatives-to-stylish.html#migration

    If you didn't even get the ones with addresses on userstyles.org, I don't know what the problem is!
  • edited November 2017 Firefox
    If you didn't even get the ones with addresses on userstyles.org, I don't know what the problem is!

    That would probably be caused by never having updated to 2.1.1, since that is it's only purpose. Or updating, but having it be disabled, therefore never giving it a chance to convert any styles to the 3.x storage format.

  • edited November 2017 Firefox
    DeepAqua said:

    >If you didn't even get the ones with addresses on userstyles.org, I don't know what the problem is!

    That would probably be caused by never having updated to 2.1.1, since that is it's only purpose. Or updating, but having it be disabled, therefore never giving it a chance to convert any styles to the 3.x storage format.

    Oh, in that case, exporting from the stylish.sqlite database for import into Stylish or Stylus offers a second chance: https://www.jeffersonscher.com/res/stylishextract.html
  • alluir said:


    ... and nothing happens. I click on "save" several times, but nothing happens. No errors, nothing. It is not applied to the page, it is not saved, nothing. So, how is this supposed to work?

    Bump, please fix this.

    The 'Save' button is not working. When I close the tab the browser warns that "data you have entered may not be saved", AND IT ISN'T.

  • How do I downgrade? I am aware that in this case the word might not have a clear meaning. I mean WTF guys?
  • How do I downgrade? I am aware that in this case the word might not have a clear meaning. I mean WTF guys?

    It depends on your version of Firefox. If you run Firefox 56 or the Extended Support Release of Firefox 52 ("ESR"), go to the versions page and install 2.1.1 or 2.0.7:

    https://addons.mozilla.org/firefox/addon/stylish/versions/

    But if you have Firefox 57, those old Legacy versions will not run and in that case, it's a question of some form of "migration." https://www.userchrome.org/alternatives-to-stylish.html#migration
  • Thanks a lot Jefferson!

    @all please excuse angry and disrespectful perhaps attitude in my previous message.

    Here is why I think version 3 is a downgrade:
    - all of my previous styles disappeared (got them back by downgrading)
    - word prediction does not work
    - linking to local files stopped working (Linux FF 56.0)
    - there is no preview option, saving does not update styling either (I have to reload page to see the changes)
    - all of the above without warning.

    I have liked Stylish so far, so I am going to hang out, but if by the time I upgrade my browser version 3 still caries any of those flaws I will take Jefferson's second advice.
  • Honest to god, what the hell?!

    Bring back the previous version that worked. I do my own custom styles but cannot save them!

    I notice that others here have the same problem so I upgraded Firefox from 56.0.2 to 57. Still the same problem... poor.
  • It would be nice if Stylish had a migration function to convert the old styles to the new format
  • So if I understand correctly:

    • Firefox Stylish 3.x is very similar to Chrome Stylish, likely now sharing much of the same code. The new storage format is probably what Chrome Stylish has been using all along
    • Firefox Stylish 2.x versions except for 2.1.1 use the old storage format, while 2.1.1 and 3.x save to the new storage format.
    • Running Firefox Stylish 2.1.1 is supposed to migrate userstyles to the new storage format.

    Someone in this thread was saying that any custom styles (created, not downloaded from userstyles.org) made by previous versions of 2.x are not available in version 2.1.1. This begs the question, does 2.1.1 actually migrate styles, or does it just redownload fresh copies from userstyles.org?

    Are the custom styles erased, or just ignored by 2.1.1? Will removing 2.1.1 and reinstalling 2.0.7 bring back these custom styles if they were just left in the old storage format somewhere?


    For those moving to Stylus, does the Stylus importer understand both the old and the new storage formats?

  • edited November 2017 Firefox

    @DeepAqua @"Christian “Psyq” Sølje" @stylishNotSaving

    If I were you, I probably would use Jefferson's Style Extractor and just import that generated .json file from there to Stylus.

    Stylus importer (it's a separate addon) can do the same thing though if you still use FF55 or lower, but I never used it and can't use it because it's the old addon type. So better stick with Jeffersons tool, it's independent from your Firefox version, it just needs the stylish.sqlite and it's simple and great.


    @DeepAqua Many good questions! I'm not 100% sure about everything but I'll do my best.

    Firefox Stylish 3.x is very similar to Chrome Stylish, likely now sharing much of the same code.

    Yes. The Chrome version already was a WebExtension, so they probably could make it run in Firefox with few adjustments.

    The new storage format is probably what Chrome Stylish has been using all along

    Yes, I guess that the Chrome addon always used .json. But json is just the format, you can define your own classes and stuff inside, so it's not necessarily compatible. It's just structured data (a bit like XML) - the importer must know which array is what.

    Firefox Stylish 2.x versions except for 2.1.1 use the old storage format, while 2.1.1 and 3.x save to the new storage format.

    yes

    Running Firefox Stylish 2.1.1 is supposed to migrate userstyles to the new storage format.

    yes

    does 2.1.1 actually migrate styles, or does it just redownload fresh copies from userstyles.org?

    Not sure, maybe it's just a bug that styles which don't provide an update URL are not imported.

    Guessing them to be lazy and data greedy, I think they chose the download option. So you need to contact the server again and they can see how big the userbase still is and which styles are popular. Personal styles don't matter.

    Are the custom styles erased, or just ignored by 2.1.1?

    They are just ignored and still present in the stylish.sqlite

    Will removing 2.1.1 and reinstalling 2.0.7 bring back these custom styles if they were just left in the old storage format somewhere?

    Yes, very likely.

    /edit

    According to https://www.userchrome.org/alternatives-to-stylish.html#migration I am wrong about the format in which the styles are saved in Chrome (storage.js). But I think it has an export function to export as .json. Sorry, I'm not a chrome guy, it's only my 2nd browser.

  • edited November 2017 Firefox
    On the question of what 2.1.1 does: it appears to back up some data from stylish.sqlite to a file named storage.js. Stylish 3.0 doesn't have access to stylish.sqlite, so it reads selected data out of storage.js to create an IndexedDB database and then that is used going forward. I think I didn't explain it fully on the other page.

    ("Some data" and "selected data" is why the migration is so bad.)
  • Jefferson, enlightening as always :o)

    Just for clarification, I think Chrome and Firefox57+ both use IndexedDB internally and .json as export format.

    Firefox used to use .sqlite files internally in the past.

    Storage.js is just an internal conversion file created by Stylish for Firefox to convert from .sqlite to IndexedDB.
  • Just for clarification, I think Chrome and Firefox57+ both use IndexedDB internally and .json as export format.

    Firefox used to use .sqlite files internally in the past.

    Storage.js is just an internal conversion file created by Stylish for Firefox to convert from .sqlite to IndexedDB.

    Yes, good summary.
  • I have noticed that Stylish no longer saves styles. It is also very constantly is unresponsive slow and continually pops up with errors messages.

    Others on this forum have tried to explain that custom styles are not saving, if you cannot solve this problem I will delete the plugin. And simply reduce the brightness of my monitor at night. (:|
  • fddf said:

    I have noticed that Stylish no longer saves styles. It is also very constantly is unresponsive slow and continually pops up with errors messages.

    Others on this forum have tried to explain that custom styles are not saving, if you cannot solve this problem I will delete the plugin. And simply reduce the brightness of my monitor at night. (:|

    Use Stylus instead for Firefox 57+ it's much much better.

    https://addons.mozilla.org/en-US/firefox/addon/styl-us/

    Then install this theme to make Stylus even better be it day or night.

    https://userstyles.org/styles/142097/stylus-gray-matter-chromium-based-or-firefox

  • Convert your old styles from your profile to json and import them in stylus.
  • edited November 2017 Firefox
    Now it happened to me: My system just decided to update to version 3. As I read "All styles successfully imported; Number of installed styles: 0" I could imagine an evil grin from a sick mastermind. After the disastrous changes to userstyles.org about halve year ago I knew this would happen one day. And it happened. What I can't understand is, how careless people who make a living by selling data (probably made up, worthless data) handle user's data. Why don't they understand the importance of data to others?

    I immediately installed stylus (I should have done so much earlier), but stylus couldn't read the configuration either. Thanks to a post here I could reinstall 2.1.1, and thanks to a script mentioned in stylus help I could finally export the old styles and disable stylish forever. I was really lucky, the stylish people just decided to ignore stylish.sqlite, instead of overwriting or deleting it.
  • edited November 2017 PaleMoon
    Ah ha, this must be why I'm having "Cannot connect to database errors". Will disable auto updates for this extension and stay on a v2 something.

    Edit: Has to be EXACTLY why. version 2.1.1 release notes on AMO say it's the last legacy version. So version 3 doesn't have any legacy support. I'm on ESR -- I don't want WebExtensions.

    Edit 2: Reverting to v2.1.1 or v2.0.7 isn't enough unfortunately. While it fixes the "Cannot connect to database" error, the styles aren't taking effect! I use it to move parts of a webpage around or hide them, and that isn't working. The code is in tact when I edit the scripts, but it's just not working.

    Edit 3: By coincidence, my target site, Twitch.tv, has updated their CSS while the extension was broken for a few weeks for me. So now I needed new rules. So it is possible that simply reverting to 2.1.1 (though I'm now on 2.0.7 since I know it worked when I was on that addon) would have worked if my Styles would have still worked.
  • This update hit me like a truck. Of course i do NOT read the forums on a regular basis.. I didn't know about the update and of course i have lost all my downloades styles and the ones that i edited on my own.

    But what really annoys me is, that since the update my firefox is extremely slow. I cannot scroll down without being stuck every few seconds and i cannot type into any forms without being stuck after a few letters.

    I have no idea what you did, but my browser is useless now :(

  • Hi Khalea, if you just got Firefox 57 and it's very slow, please check Mozilla's support forums. For example: https://support.mozilla.org/questions/1184485

    To start a new question, there's an Ask a Question link at the tops of pages there.
  • @Khalea Just install Firefox from scratch.
    Since I did that, FF is extremely fast and my profile slim. You can backup your preferences inside most addons first and reimport them.
  • This is the biggest blunder since Windows Vista :D
    Moved to Stylus. Since Stylish is anyway left it's interface behind to rip the one of Stylus there's no cause for regret. Especially given that Stylus actually works ;) and doesn't spy.
    See great posts from Jefferson above if you need help with moving (seamlessly).
  • edited December 2017 PaleMoon
    well I'll stick to 2.1.1 3.0 -> is useless on anything before the Death Of Firefox Release last November. And even on it its pretty useless unless you only like to play with webpages Even UBlock can remove objects on the fly by right clicking on the object you want to remove. whats missing is that 3.0 should have it's own repository of 57 compatible styles New and current fully compatible ones only
  • Hypothetically, if I did migrate to version 3.00, and did migrate all my styles, which styles would work in the new version and which wouldn't? Would webext-only allow users to block flashing, animation, and other migraine triggers? If not then Stylish 3.00 and Firefox 57 will be incompatible with my brain.
  • @"Marja E" WebExt doesn't change the way CSS works. So it doesn't matter which elements on a site you target. The difference is that you can't target internal sites like about:newtab or sites which are generated by other addons anymore.

    So all styles that target something on the web will still work.
    That Stylish has some bugs which Stylus doesn't have anymore is on another paper.
  • Okay, thanks. And Stylus should also work wth 57+.
Sign In or Register to comment.