Skip to content

Find a way to get version defines working for useragent overrides #22

@the-r3dacted

Description

@the-r3dacted

In UXP, they have a bunch of selectors to automatically select the correct app version for useragent overrides, and I'd like to have something like that here, but I've been unable to get it working. I tried with MOZILLA_UAVERSION instead of 115.0 in the useragents, and I just end up with @MOZILLA_UAVERSION@ in the about:config string instead of the version that should be there. Even if I hardcode #define MOZILLA_UAVERSION 115.0 for example I still get @MOZILLA_UAVERSION@ in the string. I don't know why this isn't working.

Eclipse-Community/UXP@fa66cea

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions