Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function run () {
const updateButton = document.querySelector('.branch-action-btn button')
const mergeButton = document.querySelector('.merge-message button')
if (mergeButton.disabled && !updatebutton.disabled) {
updateButton.click()
} else if (!mergeButton.disabled) {
mergeButton.click()
}
}
setInterval(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.