on run argv tell application "Google Chrome" set allWins to every window set allTabs to {} repeat with currWin in allWins set allTabs to allTabs & every tab of currWin end repeat repeat with currTab in allTabs try if (title of currTab) contains "Youtube Music" then set musicTab to currTab end try end repeat tell musicTab to execute javascript "(document.querySelector('[aria-label=\"Previous song\"]')).click();" end tell end run