it tried using text replacement a few times in firefox a while ago and i thought it was working and then it seemed to be very hit and miss. the URL field is a place i use text replacement a lot. firstly for urls for frequently used but had to prompt...
amazing that Mozilla have added an "Edit PDFs in the browser" feature (well, not really EDIT so much as fill out forms on PDFs, actually) but fail to implement the feature so many of use to speed up form use in macOS/iOS/iPadOS browsers, applications...