i dont know how you could do this programatically, but you can give the user the option with this extension https://chrome.google.com/webstore/detail/open-in-specific-window/nkgphogbgnehgdfkpiknbdnjaamlbgmo?hl=en
Open new tab on extended screen?
How to open new chrome tab on extended screen while clicking a button?
@padamghimire75@gmail.com There’s no feasible, reliable way to do that. Crucially, the browser does not have direct access to an array of screens plugged in, the way the OS itself does. For that reason, you have no way of knowing how many screens the user actually has, nor how they’re positioned in relation to each other – you can only make assumptions and guesses..
This old StackExchange question has a JavaScript workaround that sort-of-kind-of works, but even that assumes that there are exactly two screens, both with the same resolution, positioned so that screen 2 is immediately to the right of screen 1.
But what if screen 2 were instead to the left of screen 1? Or below it? Or if there were six screens lined up diagonally? If there are 3+ screens, which one would you even want the link to open in? There are just too many variables.
Please or to participate in this conversation.