How do I get text from Firefox to a LO Macro?

I’m porting a MS Windows / Access application to Ubuntu 18.04.1 / LO Base.

Can anyone point me to documentation or examples on how I can obtain the text from the currently selected page of a Firefox browser and read it into a LO macro?

Backup plan is to have end user navigate to the target webpage in Firefox. Select and copy text to clipboard. Switch to LO/Base application, click a button to execute a macro that will read the clipboard and process the text.

Since this is a frequent task I’d like to remove the end user from having to copy text to the clipboard. But I don’t know how to link and query data from Firefox.

Am I correct that DDE only works in Windows?

Any help is appreciated.