Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function run () {
var updateButton = document.querySelector('.branch-action-btn button')
var mergeButton = document.querySelector('.merge-message button')
if (!mergeButton.disabled) {
mergeButton.click()
return
}
if (!updateButton.disabled) {
updateButton.click()
}
setTimeout(run, 5000)
}
setTimeout(run, 5000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.