I open PDFs with Firefox. If I open one on an empty Windows 10 desktop, but some other desktop has a Firefox window open, that window will open a new tab for my PDF and Windows will switch to it immediately.
I would like to open the PDF in a new window instead. But if there is a Firefox window on the currently selected desktop, I would like the PDF to open in a tab in that window.
How can I do this?