I execute the following code from Google Chrome devTools console.
var members = $("div.members").scope().members;
members.forEach(
function(member){
var url = "https://www.xdxomain.com/" + member + "/Home/";
window.location.replace(url);
// execute some functions
});
after executing window.location.replace(url);
the code in the console is empty. That is, there is no code to execute. Are there any hints how to get around that problem?