There's no way to do both simultaneously. You can, however, donate to The Mozilla Corporation and help pay their CEO's salary.[0] It won't help Firefox one iota, but you can do it.
0. https://assets.mozilla.net/annualreport/2022/mozilla-fdn-990-ty22-public-disclosure.pdf