-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
It would be nice to have a toggle that automatically clicks the next button at some interval of time. I found out that the following snippet, when run in the browser console, is able to do this.
const minutes = 0.5;
function iterate(seconds){
const interval = seconds*1000;
return setTimeout(() => {
document.querySelector('.fs-control.next')?.click();
iterate(seconds);
}, interval)
};
iterate(minutes * 60);With the addition of a switch variable to enable/disable, (which would also have to reset the timer when switched), this could be the main code behind a new SlideshowController javascript file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels