Coder Social home page Coder Social logo

Comments (6)

Gusted avatar Gusted commented on July 17, 2024 2

Don't forget @Gusted's hard work, too.

My dog does typing and coding, and I troll Mikey all the time and annoy him.

from userstyles.world.

vednoc avatar vednoc commented on July 17, 2024

The developers of Stylish extension would have to implement support for USw on their own. We can't do anything about that.

Since a long time Stylus don't want install an userstyles with Waterfox Classic.

There's an open PR that fixes the mentioned issue: openstyles/usercss-meta#74

Give them a ping so that they don't forget to merge it for the next release. Beta release is supposed to go live soon in order to test USw integration as well as other bug fixes, but that's all I've been told.

Also, I can't wait for a new release in order to stop loading changes from the latest master branch whenever I want to write userstyles with an external editor. That functionality was broken only in Firefox with the latest v1.5.17 release.

If it is a problem for me, it can be too for others users of Waterfox Classic.

Indeed, but they don't seem to be vocal about it. Unfortunately, it is what it is until the bug is fixed. Have you tried installing one of the previous versions of Stylus? If not, make sure you export a backup of your userstyles first.

Can you do the same thing on USw ?

Even if we tried to do so, Stylish still wouldn't be able to install userstyles from USw because of two reasons:

  1. It would only work with default preprocessor. No LessCSS, no Stylus-lang – those are separate languages that compile to CSS.
  2. Stylish is hard-coded to only talk to USo's API. It can't be changed without modifying the source code. Even so, the source code for pre-spyware version of Stylish is very different to that of Stylus, and spyware version of Stylish is closed source.

I have tested to copy / paste the CSS code of Userstyle with Stylus configuration inside (sorry if it is confused):

You can only do so for userstyles that use default processor. Just make a new userstyle (with "as Usercss" checkbox disabled), then click on "Import" button, paste the code, remove UserStyle metadata header, and you'll have a working userstyle. I tested this with a couple of your userstyles and everything works as intended.

remove the top header, all "if" sections (but keep some and rewrite them in normal CSS format , etc....

And that's the problem: by doing that, it defeats the purpose of using preprocessors and UserCSS format. I ship some of my userstyles with both Stylus-lang and default prepcessor, the latter of which can be imported like I mentioned in the previous section. As an example, have a look at either one of my GitLab/WhatsApp/Instagram userstyles to see how it's done.

from userstyles.world.

decembre avatar decembre commented on July 17, 2024

Thanks for your quick reply, as uasual.

Make a new userstyle (with "as Usercss" checkbox disabled), then click on "Import" button, paste the code, remove UserStyle metadata header, and you'll have a working userstyle. I tested this with a couple of your userstyles and everything works as intended.

Good trick, I don' thinks to that...

Give them a ping so that they don't forget to merge it for the next release

I do it

Even if we tried to do so, Stylish still wouldn't be able to install userstyles from USw because...
Booh... that's good, with your trick and some time and a Stylus fix, all should be good.

Anyway, good evolution to your site:
You hard work on it as i can see;

from userstyles.world.

vednoc avatar vednoc commented on July 17, 2024

Let me know if there's anything left unclear.

Anyway, good evolution to your site:
You hard work on it as i can see;

Don't forget @Gusted's hard work, too. That combined with feedback from the community is what makes this project a team effort. It's going to be an exciting month ahead of us, as we get closer to feature parity with other platforms.

from userstyles.world.

Gusted avatar Gusted commented on July 17, 2024

Is this considered fixed? As next stylus release, contain the fix.

from userstyles.world.

vednoc avatar vednoc commented on July 17, 2024

Just tested Waterfox and everything seems to be working correctly. 🎉

from userstyles.world.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.