Answer the question
In order to leave comments, you need to log in
How to disable focus transfer between applications in chrome when opening a new tab?
Script in one tab of chrome browser opens another tab (window.open()...). Scripts run, etc.
This causes a switch (transfer of focus) to this new chrome tab. Even if you are using a different application. For example in the terminal, or a text editor.
How would I make it so that the focus does not jump to chrome? Even if the tab was activated by chrome itself, but switching from other applications to chrome would not occur. How to do? To everyone who has an idea - thanks.
Answer the question
In order to leave comments, you need to log in
Well, if any ideas are accepted, then put a virtual machine and let chrome work in isolation there)
A little googling found this:
Open tabs in the background using JavaScript is not possible because this is set in the user's preferences in about:config, which you have no control over. The setting is:
browser.tabs.loadDivertedInBackground=true
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question