Stylem 3.0.0b1 - beta testers needed Topic is solved

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1624
Joined: 2012-02-09, 23:35
Location: United Kingdom

Stylem 3.0.0b1 - beta testers needed

Post by Lootyhoof » 2026-07-06, 20:22

I've been working on a new version of Stylem, but it's quite a big one, so would appreciate some testers before I put it out proper.

Note: I will be very upfront and say that AI has been used in the development of this. It is, like any software, a tool, without which this would have been orders of magnitude more difficult to do.

I'm attaching a new version 3.0.0b1 below, for testing purposes. It includes the below:

- UserCSS including the ability to detect and install any such .user.css files you browse to (similar to what GreaseMonkey does in that respect)
- Support for vars (options) in the UserCSS - the install prompt and editor will allow you to turn on/off various options that a style may provide.
- Support in the Add-ons Manager for metadata provided in the UserCSS, such as author, description, version and homepage, to be transposed into add-on entries for each style. Right-click context menu entry also includes support page URL where provided in the UserCSS.
- Remove all reference and integration with userstyles.org, replaced with userstyles.world - though any site that provides a UserCSS will be installable in the same manner
- Add import/export features into the User Styles section of about:addons - this JSON backup is compatible with Stylus, and backups from Stylus are compatible with Stylem
- Bundle CodeMirror directly into the extension and drop any dependency on the built-in DevTools; not every application was guaranteed to have this and it wasn't especially well integrated.
- Include a few CodeMirror themes, changeable via the editor UI; these also persist through to the install UI.
- The editor UI includes an interactive "applies to" section that makes setting up @-moz-document rules easier.
- When creating a new style, the UserCSS Metadata is inserted by default as we aim to make this the default format given its prevalence online. It can also be inserted in the Insert menu. You can however still use styles without this metadata just fine.

UserCSS support does include support for the preprocessors that Stylus uses to varying degrees, however, "default" and "uso" are the main supported ones; the others have limited support only. This is partly a technical and partly idealogical choice; to bundle all of the libs required for stylus-lang (ironically named but unrelated as far as I understand) would be quite a complex manner, same for less. When you attempt to install or edit a style using a limited-support preprocessor, it will warn you; you have been warned. :) As for the idealogical standpoint, I personally am not a fan of using those types of languages on top of/instead of CSS when they eventually become that anyway, however, given the prevalence of them, they are supported in a limited fashion.

When you first run the add-on (if you haven't used Stylem before) it will currently take you to a 404 error, because the pages I have in mind for those aren't up yet. However, you can find the docs here if curious: https://github.com/Lootyhoof/stylem/blo ... started.md

Please give it a try and let me know of any issues. :)
You do not have the required permissions to view the files attached to this post.

User avatar
andyprough
Forum staff
Forum staff
Posts: 1574
Joined: 2020-05-31, 04:33

Re: Stylem 3.0.0b1 - beta testers needed

Post by andyprough » 2026-07-07, 05:02

I never tried Stylem before, but this is fun. My first userstyle from userstyles.world was one to make DDG results into a multi-column grid:
Screenshot_2026-07-06_23-29-10.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1930
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Stylem 3.0.0b1 - beta testers needed

Post by athenian200 » 2026-07-07, 05:41

Honestly, from what I can see, this seems pretty impressive. Good job, Lootyhoof! :thumbup:

Though I suspect I'd be of limited value as a beta tester, since I tend to subconsciously use software in ways that avoid bugs. I will let you know if I run into anything, though.
"Linux makes everything difficult." -- Lyceus Anubite
"Linux is a cancer that attaches itself in an intellectual property sense to everything it touches. That's the way that the license works." -- Steve Ballmer
"We always overestimate the change that will occur in the next two years and underestimate the change that will occur in ten." -- Bill Gates

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1624
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Stylem 3.0.0b1 - beta testers needed

Post by Lootyhoof » 2026-07-07, 06:02

It's mostly whether anyone stumbles upon a bug during active use, really. It's quite a big change from the last release, so I don't want to break people's existing setups.

User avatar
sinfulosd
Fanatic
Fanatic
Posts: 106
Joined: 2022-07-13, 03:01

Re: Stylem 3.0.0b1 - beta testers needed

Post by sinfulosd » 2026-07-07, 06:46

Looks interesting.

I'm glad you are transparent about your usage of AI, as in today's age, it's no longer a waste of time and it's starting to become an actual method to develop things, from now on - I'm certain of that, since I also made it obvious that I relied on the usage of AI to develop my modern fork of Greasemonkey.

Speaking of Greasemonkey, I actually noticed you took a lot of inspiration from my modern fork into your new version of Stylem, which really warms my heart in how much you trust my architectural and design choices that I've made in my extension.

In regards to reporting issues, I already noticed a common UI issue that the AI is well-known in doing in developing XUL files:
Screenshot 2026-07-07 092819.png
Info cropped out, and some syntax issues being present in the "About" section of a userstyle (In this case, It was tested on "GitHub Dark" userstyle).

I personally am excited to see further development of this extension, regardless of how often my usage may or may not be, I'm aware that it's one of the known extensions that some users here rely on.
You do not have the required permissions to view the files attached to this post.
Windows 11
Pale Moon 34.3.0, Firefox 151.0.3, Ungoogled Chromium 148.0
Developing and maintaining Greasemonkey for UXP

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1624
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Stylem 3.0.0b1 - beta testers needed

Post by Lootyhoof » 2026-07-07, 06:52

The UI was actually based on Stylus somewhat to be honest; it looks like that type of UI is somewhat standard at this point. But I'm happy we both arrived at the same conclusion there. ;)

The description is actually a leftover from older versions of this same add-on: previously, that would be the only description each style would have, as there was no other way for anyone to input one. Now, it only does it when there isn't any description provided. It's not a bug, per se.

User avatar
Lootyhoof
Themeist
Themeist
Posts: 1624
Joined: 2012-02-09, 23:35
Location: United Kingdom

Re: Stylem 3.0.0b1 - beta testers needed

Post by Lootyhoof » 2026-07-09, 21:55

Thanks all for the feedback! As it seems like it's working as intended for people I'll be looking to get this released in the normal places.

Locking this thread.