Is it possible when the click event is triggered, and a new tab is opened through JS click event in the same browser, but technically the old tab should still remain active instead of in dormancy state.
As per my understanding as soon as a new tab is opened in the browser the old one, which is now not visible to the user becomes dormant by default.
If my understanding is correct what will be the methods to keep the old tab remain technically in an active state, though it is not visible to the user as the user is on a new tab now.
The only method is to fork Chromium sources and patch it to add ability for opening tabs in background
Seriously, this logic is hardcoded into browsers, it cannot be controlled with Javascript. Some browsers may have workarounds, like browser.tabs.loadDivertedInBackground setting in Firefox, but you wouldn’t call it an acceptable solution, I guess.