How to Edit Every Ghost Blog Post

var number = 0;
var numStr = "";
var curi = "";
var newWindow;

// 1 to 367
for (number = 361; number < 368; number++) {
    numStr = number.toString();
    curi = "https://maxsaxedesign.ghost.io/ghost/editor/" + numStr;
    newWindow = window.open(curi, "newWindow");
    // console.log(file + " is downloaded");
    // newWindow.close();
}