Skip to content

Instantly share code, notes, and snippets.

@soter19
Created June 16, 2020 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soter19/8a5df627837f027e0d838daca84d75bd to your computer and use it in GitHub Desktop.
Save soter19/8a5df627837f027e0d838daca84d75bd to your computer and use it in GitHub Desktop.
Go to next file [GH-PR]
if(!next-button-qwerty){
document.body.innerHTML += "<button id='next-button-qwerty'>Next!<button>"
let button = document.getElementById("next-button-qwerty");
button.onclick = () => document.querySelectorAll(".js-reviewed-checkbox:not(:checked)")[0].click();
button.style = `
position: fixed;
right: 10px;
top: 20vh;
padding: 15px;
border-radius: 50%;
background: orange;
color: white;
z-index: 99;
`;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment