20

A function to inject custom css into a webpage would be really nice, as it eliminates the need for extensions (e.g. Stylus) to inject custom CSS to for example globally change the font, make a dark mode for a certain website, etc.

  • Vlad replied to this.
    Vlad changed the title to User styles/Custom CSS Injector .

      BomberFish Please provide full specification for the feature. How would this work inside Orion?

        a month later

        Vlad I've come up with an idea or two, and I made an outline of the feature in MS Paint.

          This is way too coplex in my opinionion. This requires bundling an editor into Orion, as well as a lot of other features. Having a preference for a custom CSS, as safari does is a much better option in my opinion.

            6 days later
            17 days later

            Combining this with the concept of a Reader Mode would be great.
            Try and extract standard tags from webpages, and have custom user styles for those tags.

              2 months later

              Not to hijack the thread, however, there is a great Chrome extension that would suit this purpose perfectly. If Orion could support it - or if the extension could support Orion - not sure which it should be? Currently a quick test of the extension results in failure to properly work.

              Amino Editor Chrome Extension

              Amino Editor Website

                a year later
                a month later

                Two potential mockups regarding this feature. Although the mockup does not contain a spot for user css, it could easily be added within the style menu.

                Previously posted by @Vlad

                  eirk Well, ok. Maybe it doesn't work specifically on Mastodon instances, then.

                    In Safari, in preferences under the advanced category, there is the option to have a custom style sheet (css).

                      2 months later

                      I also hope that Orion can add the styel sheet feature.

                        6 days later
                        eirk changed the title to Custom Style Sheet (CSS) .
                          a year later

                          Yes please because all the addon's just don't work and Safari Style Sheet is broken-refuses to acknowledge font even with '!important' enforcement.

                            7 months later

                            Any news on this? Would love to avoid plugins like Stylus, which don't work very well.

                            • Vlad replied to this.