H
H
Herman Coffman2021-10-30 21:03:25
Google Chrome
Herman Coffman, 2021-10-30 21:03:25

How to make chrome think that a person is on multiple tabs at the same time?

Bottom line: there is an automated action for 14 tabs, but it is performed under the condition that the window in chrome is active (that is, there was no mouse click outside the window), but to perform these actions, mouse clicks outside the 14 tabs are needed, so it is only active one window. And I need all these 14 tabs to think that I'm sitting behind them. There is an option to remember the position of each tab and poke all these tabs with a python script, but this is a collective farm. How can all this be done more elegantly?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2021-10-30
@zkrvndm

Find a script on the target site that determines the fact that you are on the tab and break it, replace it, or stupidly intercept events. If necessary, emulate the events yourself. In short, there is no simple solution there, you need to pick the target site itself and write a solution specifically taking into account its code.
To run your code on the target site, use the browser console, or write an extension that will insert your code on the site pages automatically.
PS Try to open the site not in tabs, but in separate WINDOWS, do not minimize these windows, let them just hang in the background, it may help, but most likely not.

R
rPman, 2021-10-30
@rPman

A script in the browser, which can be injected either manually through the console or using a plugin, can click on buttons in an inactive tab, but the activity will be noticeably slower and the browser, when the tab is deactivated, issues the corresponding event, which the page can process accordingly and disable the activity.
To make the script work (timers do not slow down) on any tab, implement it using Web Workers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question