Skip to content

Instantly share code, notes, and snippets.

@vishnun
Created September 24, 2016 00:24
Show Gist options
  • Save vishnun/d0528e0c923b63c1e9655bd737e7733c to your computer and use it in GitHub Desktop.
Save vishnun/d0528e0c923b63c1e9655bd737e7733c to your computer and use it in GitHub Desktop.
A small script I need to make it easy to go through WISE steps on the browser. Needed it for more productive work.
tr = $($0);
closeBtn = $('#authorNavButtons [value=Close]');
function nextEdit(tr) {
var nextTr = $(tr).next();
var editButton = $(nextTr).find('.editNodeInput');
editButton.click();
return nextTr;
};
function nextStep(){
closeBtn.click();
tr = nextEdit(tr);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment