Is there a way to smoothly scroll an inactive Chrome tab to the bottom without having to activate it? I have tried using code in the console, but it seems that the tab needs to be activated for the scrolling to work. Here is the code snippet I tested:
window.setTimeout(function() {
window.scrollBy({
top: 9999999,
behavior: 'smooth'
});
}, 3000);
If you insert this code into the console, switch to another tab, wait for 3 seconds, and then return to the original tab, you will see that the tab only scrolls once you activate it again.